What he did goes against the rules. This sentence goes against english grammar. To be unfavourable to someone.

For nabiullina, the developments unpick almost a decade of work going against the grain of putin 's increasing global isolation by opening up the economy. (idiomatic) unwillingly, reluctantly; Contrary to.