Control-law Synthesis for Integrator Hybrid Systems