You would have split the facilities into groups by colony tech. Then give the facilities an ability that augments troops with a certain AI Tag. Then split the troop vehicle the same as the facilities, think the race selection in AST. Then give the troop vehicle that AI Tag. Set your requirement, something like increases damage for AI Tag XX. That is just a rough stab. I don't think it would really work just like I am saying, only that I think it may be possible. Now my head is hurting.
Edit: No set them using Custom Group. I think that would work better. Ok; no more tonight!