act in accordance with the rules vs toe the line

act in accordance with the rules

toe the line

verb
  • To begin to cross the line, as if with one's toe; to test limits imposed by an authority, to push boundaries. 

  • To abide by the rules or conventions. 

  • To stand at one's mark before a footrace. 

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