adhere to the rules vs play it by the book

adhere to the rules

play it by the book

How often have the words adhere to the rules and play it by the book occurred in a corpus of books? (source: Google Ngram Viewer )