As far as I know, this is pretty much a general rule regarding self defence, and of course, it has the exception of pardon if the responsive force was excessive, given certain situations.
Yes, you can definitely shoot the poor bastard or bastards, but, as a future attorney, I'd advise you to...