Well, my first rule of thumb would be that any nation which has nukes targeted on us at all is automatically disqualified from the "friendly" list. The UK has a couple of hundred nukes, but they don't seem to feel it necessary to keep several targeted on Boston at all times "just to be sure". Nations which target the USA with nuclear weapons at all should be considered "Neutral Powers" at best.
They get down-graded to "Hostile Powers" if they openly threaten a nuclear First Strike, as the Chinese did a few years ago when they threatened to vaporize Los Angeles if we tried to defend Taiwan. Now, it's true that Taiwan, not being a US State, is not constitutionally-entitled to US Federal defense in the first place; and, in threatening to liquidate Los Angeles, it's entirely possible that the Red Chinese were trying to offer us a "win/win" deal -- they get to take Taiwan, we get to lose LA.
But, it was still a threat of nuclear First Strike against US soil. Bump 'em down to "Hostile" until they Recant the threat. No need to sell them stuff when they are openly threatening to Nuke us.
Just food for thoughts....