thrash vs work to rule

thrash

verb
  • To move about wildly or violently; to flail; to labour. 

  • To defeat utterly. 

  • To extensively test a software system, giving a program various inputs and observing the behavior and outputs that result. 

  • In computer architecture, to cause or undergo poor performance of a virtual memory (or paging) system. 

  • To beat mercilessly. 

  • To thresh. 

noun
  • A beat or blow; the sound of beating. 

  • thrash metal 

work to rule

verb
  • To work slowly by strictly following all work rules, usually in a work-to-rule job action, as part of unionized labor protest. 

How often have the words thrash and work to rule occurred in a corpus of books? (source: Google Ngram Viewer )