It was a little bit of a joke, from Kant's Categorical Imperative, which goes roughly like "act as if your actions are to be the basis of a universal law." I think the actual quote is "act only according to that maxim by which you can at the same time will that it should become a universal law."