Add rule tracking to rule-based translator.
Add output exclusion flag to rule metadata.