Don't want to be robbed?.. Don't steal.
What if you can be assured of knowing that you could murder and steal and not suffer any consequences?
Irrelevant to the notion of a moral code.
In order to claim a moral imperative to act peacefully in accordance with my own will, I must rationally afford others the same ability.
Else my own moral claim is invalid.