act in accordance with the rules vs follow convention

act in accordance with the rules

follow convention

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