Cleaned up the old ruleAux code