The current JSON rule configuration uses a Map<String, RuleConfiguration> where the map key represents the rule type. Since map keys must be unique, this prevents having multiple instances of the same rule type. For example, you can only configure one "XPath" rule, even when you need multiple XPath checks with different patterns.
It would be nice to support multiple instances of the same rule type (esp. for the mentioned XPath rule).
The current JSON rule configuration uses a Map<String, RuleConfiguration> where the map key represents the rule type. Since map keys must be unique, this prevents having multiple instances of the same rule type. For example, you can only configure one "XPath" rule, even when you need multiple XPath checks with different patterns.
It would be nice to support multiple instances of the same rule type (esp. for the mentioned XPath rule).