public function isRule($rule) { $rule = $this->_parser->checkRule($rule); return $rule === $this->_rule; }