Changing order of operation to not remove duplicate variable rules
Changing order of operation for evaluation of variables