Remove variable redundancy in export rule.