API: change the signature of Language.getRelevantRules(), so we can clean up some reflection-based code