protected function getRuleConfig(Rule $rule)
    {
        if ($rules = $this->config()->rules) {
            
            if (isset($rules[get_class($rule)])) {
                return $rules[get_class($rule)];
            }
            
        }
        
        return [];
    }