MHD Flow Layer Formation in Vicinities of Rational Flux Surfaces of Tokamak Plasmas