BadTargetCategory makes a unit deprioritize a certain group and AFAIK shoot less accurately at it, how about a tag that makes the unit prioritize a target class (e.g. infantry for machineguns, tanks for RPG launchers) but not get any penalty for other targets? Preferrably with a priority list (e.g. "prioritize aircraft, if no aircraft nearby shoot the tanks first, then bother with the rest")?
And, um, can BadTargetCategory and OnlyTargetPriority take multiple classes or do you need to define a new class that covers all units of those classes for such a case?