I had someone do the rainbow trick, a couple of times against me... I went 2 - 1 down because of it. Then with 10 mins of the game left I sneaked 2 goals in to win 3 - 2.
I admit its annoying but if you are finding it hard to defend against them, then play a deep defence and use counter...