fixing univar and exivar issues in the output of rules