Howdy,
In my own front yard here in Slat Lake City I would probably not shoot the idiot throwing rocks but in a war zone Where the first projectile is a rock the second could very possibly be an explosive device, in that case automatic weapon fire seems justified.
M.R.