protected function getRuleConfig(Rule $rule)
    {
        if ($rules = $this->config()->rules) {
            
            if (isset($rules[get_class($rule)])) {
                return $rules[get_class($rule)];
            }
            
        }
        
        return [];
    }
protected function getRuleConfig(Rule $rule)
    {
        if ($rules = $this->config()->rules) {
            
            if (isset($rules[get_class($rule)])) {
                return $rules[get_class($rule)];
            }
            
        }
        
        return [];
    }
protected function getRuleConfig ( Rule $ rule ) { if ( $ rules = $ this -> config ( ) -> rules ) { if ( isset ( $ rules [ get_class ( $ rule ) ] ) ) { return $ rules [ get_class ( $ rule ) ] ; } } return [ ] ; }
Answers the configuration array for the provided rule.

@param Rule $rule

@return array
Answers the configuration array for the provided rule .