Immanuel Kant's Categorical Imperative is generally summarized as the principle that if a moral rule applies to someone, then it applies to everyone.
Example:
If I believe that homosexuality is immoral, then I must accept the fact that if I engage in a homosexual act, I am immoral as well--or I must abandon my belief.