The categorical imperative states that we can’t just find rules that tell us how we ought to behave—we have to find rules that we could imagine everyone else following too. Before we do something, we have to determine what would happen if everyone did it; and if a world in which everyone did it would be all screwed up, that means we’re not allowed to do it.