When I get the RuleMatch object I can easily get the rule with a getRule() call. However, the Rule object does not provide a method for indicating whether a rule is for a case-sensitive match. Do you have any idea?
The reasoning behind this:
* For a case-sensitive check, the replacement will be case-sensitive as well (ie. following the case of the replacement).
* For a case-insensitive check, the replacement will honor the original case .