Keep line number metadata as metadata on the rule structures so equivalent conditions are equal.