With that particular example, a citizen could very well also be an armed insurgent. Whether that citizen/insurgent is an ally or neutral or enemy is the distinction worth solving (even if it's significantly harder for an AI).
Of course, that matters far less when Skynet decides that every human is a hostile armed insurgent...