Design rule of 2D high contrast gratings and engineering of orbital angular momentum of light