Programming the equilibrium swelling response of heterogeneous polymeric gels