This question already has an answer here:
I'm looking for a word, term, or phrase that refers to a type of behaviour; somewhat similar to what's commonly known as "Malicious Compliance"; but without the necessary implication of malice aforethought.
That is to say; the behaviour in question is characterised by a strict, blind adherence to the rules. Regardless of (or ignorant to) the potentially negative impact it may have or the damage it could cause without considering any unique, individual, or extenuating circumstances. Possibly even to the detriment of the system that the rules are intended to protect.