private function ruleExprEvaluateFired($matches) { // No list of fired rules if (!isset($this->runResult['fired'])) { return '0'; } // Did matching rule fire? foreach ($this->runResult['fired'] as $rule) { if ($rule['id'] == $matches[2]) { return '1'; } } return '0'; }