From Halopedia, the Halo wiki
Under the Military Code of Conduct, officers of equal standing are permitted to have an intimate relationship, though Article 23, Section 12 of the code prohibits sexual conduct between officers and enlisted personnel. The code has very clear restrictions on the consumption of alcohol and fraternization with civilians. The Code of Conduct also authorizes the summary execution of any prisoner of war interfering with a guard while on the field of combat.
List of appearances