Fix rule evaluation closure.