Link: Creating a code of conduct
This article from the D&D Adventurers League is mostly about codes of conduct for cons, but a lot of the advice is useful even within a single gaming group — like making sure that the rules of conduct are accessible and easy to read.