The Islamist Hamas group ruling the Gaza Strip said on Tuesday it has deployed forces to "preserve the truce" after rockets fired from the enclave hit Israel.