"Hamas negotiated a truce, and they have kept the truce."
If Hamas is the government of Gaza, then they are responsible for controling those "criminal " elements that are launching the rockets.
If they are not the government, then they should be removed and the rightful government installed.