act in accordance with the rules vs obey the rules

act in accordance with the rules

obey the rules

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