public function add(RuleContract $rule)
    {
        if ($rule->isTrusted()) {
            $this->whiteList[] = $rule;
        } else {
            $this->blackList[] = $rule;
        }
    }
public function add(RuleContract $rule)
    {
        if ($rule->isTrusted()) {
            $this->whiteList[] = $rule;
        } else {
            $this->blackList[] = $rule;
        }
    }
public function add ( RuleContract $ rule ) { if ( $ rule -> isTrusted ( ) ) { $ this -> whiteList [ ] = $ rule ; } else { $ this -> blackList [ ] = $ rule ; } }
Adds a new rule to the rules list.

@param RuleContract $rule
Adds a new rule to the rules list .