Isn't better a getRule($rule) method? So, hasRule() continues returning bool value.