go with the flow vs keep to the rules

go with the flow

verb
  • To act as others are acting, conforming to common behavior patterns with an attitude of calm acceptance. 

keep to the rules

How often have the words go with the flow and keep to the rules occurred in a corpus of books? (source: Google Ngram Viewer )