Fix some issues with re-using the rule-based translator.