Fix: raise error when no rule is found by that name