Pretty much ... the rules don't require you to go after the dogs on their level, using your bare hands and teeth, just to take care to avoid excessive collateral damage: shoot at the dog legitimately with your rifle, you're on safe ground even if the dog's owner steps in front of the dog suddenly and gets hit, but carpet-bombing the whole street, or shooting at their cat because of their dog's actions, crosses the line.
Someone starts shooting at you from a building, you can fire back; if non-combatants die as a result, it's the other side's war crime for hiding behind them, not yours for shooting at a legitimate target that went somewhere it shouldn't.