The generic existence of rational expectations equilibrium in the higher dimensional case