adhere to the rules vs follow convention

adhere to the rules

follow convention

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