(indent)
I suggest you guys read this, where I demonstrate that some editors here really don't understand how a legitimate military target is defined in IHL.  According to HRW, a Hamas fighter is a legitimate target, whether he's shooting someone right now or not. HRW also says it is legitimate to target the home or office of a Hamas commander. 
I was told that the ICRC defines it in some other way, but have yet to see the ref.