Fix rule-apply where it would drop bindings accumulated during rule application.