Add the grammar moveMethod

Add the grammar moveMethod