...Israel is most likely setting the stage for a Fatah-Hamas showdown redux in Gaza. A couple of things have to happen to prepare for this eventuality first, however. Hamas has spent two years — under Iranian strategic direction, guidance, assistance and supply — duplicating Hizballah's offensive missile capabilities in order to lure the IDF into a Hizballah-modeled urban defense of tunnels, deception, firepower, and explosives. See here from earlier.
As such, Israel has to accomplish a few things under increased Gaza Hizballah-modeled defenses.
Destroy known large weapons caches — for both immediate and down-the-road benefit.
Disable the tunnel systems into Egypt that are used to re-supply Hamas's increasingly lethal arsenal.
Seal sea-based approaches, as submersible containers are also used to ferry weapons ashore from cargo ships.
Liquidate as much of Hamas's key leadership as possible.
Liquidate Hamas terrorist ranks, especially rocket crews and builders, as much as possible.
Israel will stop the operations not when the rockets stop, but rather when Israel thinks it has crippled Hamas and hindered its regenerative ability to the point where the next incredibly challenging step can be taken: Assist and empower Fatah enough in Gaza that it can once again raise a significant challenge to Hamas's violent domination there. Fatah was decimated in Gaza by Hamas in '06 and '07. It must be rebuilt.
There are, of course, significant challenges and risks in trusting and empowering Fatah, the offspring of Arafat's PLO. But they are less than that of Israeli re-occupation of Gaza, which would be an absolute requirement for defeating Hamas fully and having "a good chance the rockets will stop."
There are two ways to fight Hamas. This, I believe, is Israel's preferred method.