The Golden Rule is a religious code. It states, briefly: act towards other agents in the way that you would like them to act towards you.