It's really quite simple... shut off the electricity. Don't go in.. just let them fend for themselves without any power. Everytime they fire a rocket.. cut off the electricity for a week.
Two Turkish soldiers, five Kurdish militants killed in attack (Reuters)
from the article: IDF says Hamas responsible for Katyusha fired from Gaza Strip