Hamas admits to rocket fire from residential areas