further optimize solver_reenablepolicyrules