act in accordance with the rules vs keep in step

act in accordance with the rules

keep in step

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