abide by the rules vs play it by the book

abide by the rules

play it by the book

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