How about doing unto others what maximizes total happiness, regardless of what they'd do unto you?
Doing unto others that which causes maximum total happiness leaves you vulnerable to Newcomb problems. You want to do unto others that which logically entails maximum total happiness. Under certain conditions, this is the same as Pauling's recommendation.
Here's the new thread for posting quotes, with the usual rules: