API change: Adopted oh.getMatchingRule to work with the new internal structure.