Try the FAST method to help draft up a way to approach this person: https://dbt.tools/interpersonal_effectiveness/fast.php
It’s a very useful way to be assertive when confronting somebody with a problem you have with them.
Um, got more context? Generic questions beget generic answers.
“I understand this issue is very important to you, but that doesn’t mean you can treat others in this way. <More constructive alternative approach here>”
That’s the best I’ve got given how vague your question is.
the person thinks they are better than everyone else and is also obsessed with rules, has to constantly insult others to remind themselves and others that they will always be better.
Just call 'em out. They’ll argue against it, and you should cut them off then. But it will leave them with a clear answer as to why, and hopefully lead to revelation.