I'm not accusing you of racism. I am pointing out that one of your statements is racist. Those aren't the same thing at all. I invite you to read point one of this interesting essay that went round the other day:
http://whatever.scalzi.com/2009/03/12/mary-ann-mohanraj-gets...
That’s a starting assumption for me — the world is racist, the culture I grew up in is racist, I’ve internalized and carry around a hell of a lot of racist baggage, and on some deep level, many of my basic assumptions are racist. So are yours. That sucks. But I also don’t feel particularly guilty about it, and neither should you. It’s something you’ve inherited, living in this world. The onus now on you isn’t to wallow in guilt — it’s to be aware of these deep-buried attitudes, and consciously try to avoid letting them dictate your choices in life.
All of us draw racist conclusions from time to time. I've done it more than once, and doubtlessly will do so again. If nobody bothers to point this out I'll just keep making the same mistakes forever.
As for whether or not a statement like this is overtly racist:
If other immigrants from a country integrates well and is successful they should be given preference over another country
Here's the deal: When someone says "people who work hard tend to succeed", that is not overtly racist. If someone says "people who speak English tend to succeed", that is not overtly racist. When someone says "people who win math competitions succeed", or "people with a family history of entrepreneurship succeed", or "people who can afford to pay an immigration tax succeed", these statements are not overtly racist. (Though, obviously, people might disagree with them, or dispute their relevance to immigration policy.)
But when I read "people from Culture X tend to succeed; therefore we should give them a preference" what can I call that statement but racist? You're generalizing about people based on their race. It's an unfair generalization -- unfair to the millions of people who work hard, learn fast, and integrate, but who are unfortunate enough to have a less-marketable ethnic background.