What do you think about having rules in a relationship?

What do you think about having rules in a relationship?
My boyfriend gave me some rules immediately we started dating. They contain things he dislikes and requested I do thesame. So I gave him mine though mine is not as much as his. We both have it printed. Does any other persons do this? What do you think?
Updates
1 y
Two of his rules:1Please don't flirt in my presence. 2. No disrespectful behavior especially in the company of others.

Two of My rules:1. Please don't cheat on me. 2. I don't like being shouted at so please don't yell at me even in anger.
What do you think about having rules in a relationship?
Post Opinion