Exclusionary rule refers to a rule prohibiting use of illegally obtained or otherwise inadmissible evidence in a court of law.