Simple, Israel should actively target those who manufacture, fire and give the orders to fire the Qassams. Indiscriminate shelling of areas of Gaza, is not going to cure the problem of the rockets. Also by ensuring the Hamas government cannot function, even to pay the very people Israel wants to stop the Qassams. At the moment as someone looking in from the outside Israel's response is not looking joined up in its thinking.
Law expanding definition of terrorist activity passes first Knesset reading (Haaretz)
from the article: Who is a terrorist?