Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
r.forEach(function(theRule) {
theRule.rule.event.params.rule_id = theRule.id;
engine.addRule(new Rule(theRule.rule));
});
}