act in accordance with the rules vs comply with the rules

act in accordance with the rules

comply with the rules

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