add the grammar EncapsulateField and ReplaceDataValueWithObject