Take a little advice from someone who's been there my friend.
When you find yourself in a battle and it's down to you, your rifle, and your foxhole, shoot the SOB that presents the most danger to you FIRST and then worry about the others!
If it were that simple, that would be a great solution. Unfortunately, some of the bad guys are in the foxhole with me and they have guns too.