--- mail/em-folder-utils.c.old	2009-02-04 17:44:21.157273000 +0800
+++ mail/em-folder-utils.c	2009-02-04 16:58:16.610491000 +0800
@@ -662,6 +662,9 @@
 		filter_rule_set_name((FilterRule *)rule, path);
 		vfolder_gui_add_rule(rule);
 		gtk_widget_destroy((GtkWidget *)emfs);
+		/* Refresh the folder tree and select the created folder */
+	        em_folder_tree_set_selected ((EMFolderTree *) data, uri, GPOINTER_TO_INT(g_object_get_data ((GObject *)data, "select")) ? FALSE : TRUE);
+		
 	} else {
 		/* Temp data to pass to create_folder_real function */
 		emcftd = (struct _EMCreateFolderTempData *) g_malloc(sizeof(struct _EMCreateFolderTempData));
