fixed z3 policy-routing, still need to figure out variable resolution