Modified check_rule parametres so it uses the same name as the doc string