public function revokeRule($rule)
    {
        if ($this->hasRule($rule)) {
            unset($this->rules[$rule]);
            return true;
        } else {
            return false;
        }
    }