legislation vs ruling

legislation

noun
  • Law which has been enacted by legislature or other governing body 

  • The act of legislating; preparation and enactment of laws. 

ruling

noun
  • An order or a decision on a point of law from someone in authority. 

adj
  • That rules; predominant; chief; reigning; controlling. 

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