Immanuel Kant developed a rule called the “categorical imperative,” which was at the center of his idea of ethics. He expressed the rule in several different formulations; the second formulation read, in part, “Act in such a way that you treat humanity . . . never merely as a means to an end, but always at the same time as an end.”