Decodes and validates one rule; throws RuleException with the first violation. fileId is the rule file name without .json and must equal the rule id.
.json