public function getRule($ruleName)
    {
        if(!$this->hasRule($ruleName)) {
            throw new RuleNotFoundException(RuleNotFoundException::formatMessage($ruleName));
        }

        return $this->rules[$ruleName];
    }