to change the rules to suit a particular person or situation
bend / stretch the rules
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición