"Legalistic rules" refers to strict and rigid regulations or laws that focus solely on the letter of the law, often neglecting the spirit or intent behind it. It implies an excessive emphasis on following rules exactly and rigidly, without considering fairness or common sense.
Full definition