Go for it! Launch a full-scale invasion and demand nothing less than unconditional surrender as the price of peace. Sure, Israel will take a lot of casualties, but the rocket attacks will be done away with permanently.
That would require the Palestinians to act with honor. Something of which they have none. They would start sending rockets into Israel as soon as they had them to fire.