modify tree_id rule