For example by taking the longest found chain for a target match: while walking through the language description and checking for correctness, remember how many entries of that specific rule have been matched already. Report the rule with the highest number of matched entries.