public function getSystemRule($rule) { $this->_load(); foreach ($this->_rules as $val) { if ($val instanceof $rule && $val instanceof Ingo_Rule_System) { return $val; } } throw new Ingo_Exception('Invalid system rule'); }