There is a contradiction in the rules. One rule says, 'permanent residents (green card holders) are OK' but then another says 'no foreign nationals.' I guess this could apply to the vanishingly small set of permanent residents who don't have a foreign citizenship anywhere.
Thanks for pointing this out. As far as I have seen, the rule has been applied so as to construe 'foreign nationals' as people who have neither US citizenship or permanent resident status. Basically, if you are entitled to the protections given by the Bill of Rights, you may donate to political campaigns.