Added ability to use a custom ruleId when failing rules