This should be done in a different way. Under Nation you have the option to set Nation Treated as non-Foreign. You can choose various options there, including nation continent, region and agreement.
There are two options for you, using an Agreement, easiest when you want to remove one specific nation from your list, or continent.
No need to set this in advanced rules.