Religious dimensions of the golden rule