Some modifications on tree grammar