In the Cobra barracks, I can not acquire ranchers or assassins since it tells me insufficient resources, when I have the resources to manufacture them.
You need IPs to build those troops as well. Since the IPs are greyed out in the picture, you obviously don't have any so that is why you can't build those troops right now.