Sorry, RoW cover that.. They must have and wear an identifiable uniform with proper insignia. They cannot fight/supply/construct/bivouac/hide/ communicate/etc. in civilian areas as that makes the civilian areas where they do a legal target. Only proviso is IF it is possible without endangering the Israeli (in this case) military for the Israeli's to control shelling/bombing sufficiently to only target the bad guys they are required to do so . Unfortunately, due to the choices of hezb and their ilk, who choose to hide like cowards and use the deaths of their people who they are cowardly hiding among to badly mispaint the Israelis. It really does not matter how much the Israelis have and how much the ***** have, the RoW exist for both/all sides.
For those with difficulty following this: Military in with/hiding among civilians IS A WAR CRIME ON ITS FACE. The opposing military ATTACKING THE PLACES WHERE THERE ARE MILITARY HIDING WITH/AMONG THEIR CIVILIANS IS NOT!!!! The only exception/proviso is IF IT IS POSSIBLE TO PREVENT CIVILIAN DEATHS/HARM WHILE PERFORMING THE REMOVAL OF ENEMY COMBATANTS (WITHOUT HARM TO THEMSELVES) IT IS REQUIRED THEY DO SO. OTHERWISE, NOT!!!
And, just as a friendly, most of the Hesb amd related do not wear an identifying uniform and can legally be executed when found as spies. A friendly suggestion, start looking up the rules (there are several versions , all of them are sufficiently logical to have a clause(s) like I note above.