Hamas is out to do damage. It's out to score points by being able to brag about hitting Jerusalem. It does not care about Muslim casualties or damage to its so-called holy places.
This is why most people assumed, wrongly, that no Arab group or nation would actually try to bomb Jerusalem. Not only does Jerusalem have a sizable Arab population but it's close enough to any number of Arab Muslim villages in the West Bank that it's hard to try and hit it, especially with poorly aimed rockets, without also hitting them.
Notably Hamas knows all this and simply does not care. Despite all the claims by its members about being eager to die for Al Quds, the Islamic name for Jerusalem, they have no problem firing rockets at Jerusalem that could just as easily hit their own Dome of the Rock or any of the Arab areas.
For the second time since the beginning of Operation Pillar of Defense, an air raid siren sounded in Jerusalem at around 2:15 pm, shortly before the arrival of UN chief Ban Ki-moon to the city.
The rocket likely landed in Gush Etzion. Israeli and Palestinian residents told Ynet that the rocket landed in an open area between two Palestinian village. Hamas claimed responsibility for the firing. No injuries or damage were reported.
The spokesman for the Judea and Samaria Fire Services said, "One of the rockets landed near a Palestinian village. It did not explode, there are no injuries. Police sealed the area. The other rocket landed near Hebron, also in an open area."
So two rockets fired at Jerusalem before the arrival of Ban Ki-moon. Both end up falling close to Muslim areas. Meanwhile the media will insist that we treat Hamas as a sensible rational actor looking out for its own people.