The Rationality behind Immigration Preferences