If it was me, for every rocket out of Gaza, I would let a computer randomly select ten targets in Gaza and launch very powerful explosives via rockets into the said selected ten sites.
Alternatively, carpet bomb Gaza until all life ceases and then bulldoze it for Israeli settlers. Ditto for the West Bank. The Palis can either leave or die. That gets rid of one Middle East problem.