The Rules Editor window is used to edit rules. Rules include filter and action terms. Filters are edited by the controls in the Filter frame and actions are edited by the controls in the Actions frame. The two frames work the same way; only the contents of the pull-down menus are different.
The [OK] button closes the Rules Editor window and assigns the current rules to the Change Citation Parts, Change Name Parts or Change Place Parts feature.
The [Cancel] button closes the Rules Editor window. Any changes to the rules are discarded.
The [Save As...] button may be used to write the current rules to a file.
The [Load...] button may be used to read rules from a file.
The list in the Filters frame includes the filter terms in the current rules.
The three controls beneath the list are the filter definition controls and are used to define and modify filter terms.
The left-most control is a pull-down menu that contains data elements.
The middle control is a pull-down menu that contains filter operators. The operators vary based on which data element is is chosen.
The right-most control under the list of filter terms is the data value control. For operators that compare data elements to text, the control is a textbox where you key the text to compare to the data element. Wildcard characters are valid with the "like" operator; all the other text matching operators expect literal text. When the data element is "Name Style", "Place Style", or "Tag Type", the control is a pull-down menu of the available styles or tag types. For the "is empty" and "is not empty" operators, no data value is needed and so there is no data value control.
The [Add Filter] button adds a filter term using the current state of the three filter definition controls. The filter term is added at the end of the list.
The [Update Filter] button changes the selected filter term to match the state of the three filter definition controls.
The [Delete Filter] button delete the selected filter term.
The [Move Up] button moves the selected filter term higher in the list. The [Move Down] button moves the selected filter term lower in the list. The sequence of filters is important only in that the processing will be faster if the most restrictive filters are at the top of the list.
The controls in the Actions frame work the same as the controls in the Filters frame.
The sequence of actions is important if a field is referenced twice. The actions are performed in top-to-bottom sequence.