Legalism

The rigorous and ruthless adherence to the word of the law.