get rid of vs rule out

get rid of

verb
  • to rid oneself of; dispose (of); to remove; to abolish; to lose 

rule out

verb
  • To disallow. 

  • To reject an option from a list of possibilities. 

  • To make something impossible. 

  • To cross an item out by drawing a straight line through it, as with a ruler. 

  • To make unavailable. 

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