A rocket launched from the Gaza Strip at a southern Israeli city on Wednesday as it hosted a campaign rally by Prime Minister Benjamin Netanyahu prompted him to take shelter briefly before resuming the event.