A practical example showing how to iterate through all matches and print the name of the rule that generated each one for debugging.