public function executeRules(Context $context)
    {
        foreach ($this->rules as $rule) {
            $rule->execute($context);
        }
    }
public function executeRules(Context $context)
    {
        foreach ($this->rules as $rule) {
            $rule->execute($context);
        }
    }
public function executeRules ( Context $ context ) { foreach ( $ this -> rules as $ rule ) { $ rule -> execute ( $ context ) ; } }
Execute all Rules in the RuleSet.

@param Context $context Context with which to execute each Rule
Execute all Rules in the RuleSet .