What are the rules for a foreign national’s residency permit?