act in accordance with the rules vs play by the rules

act in accordance with the rules

play by the rules

verb
  • to do what is expected. 

How often have the words act in accordance with the rules and play by the rules occurred in a corpus of books? (source: Google Ngram Viewer )