as a rule vs mainly

as a rule

adv
  • In general; most often. 

mainly

adv
  • Chiefly; for the most part. 

How often have the words as a rule and mainly occurred in a corpus of books? (source: Google Ngram Viewer )