The golden rule in a philosophy of morality