Undo tree mode rules.