Many Jewish prayers that are said before doing a mitzvah, a commandment, include words praising God “who has sanctified us by Your commandments…”
Let’s look at that again. We are sanctified by commandments. They separate us and make us special. When we do what God wants, we become more human and less like animals. Animals and small children do whatever they want without thinking about it. They don’t care about the repercussions or plan for the future. They live for right now and what makes them happy. Rules are for other people.
A sign of maturity is being able to willingly follow rules, not just following them out of a sense of duty. To see the rules as a blessing, as something that causes us to become holy, is really special.