About Arbortext Styler > Creating Contexts > Context Priority
  
Context Priority
The order of contexts is significant. Contexts are displayed in Arbortext Styler in priority order, highest priority first. Unlike conditions, in which all true conditions are applied to an element, only one context is applied to an element. Initially, Arbortext Styler assigns a priority to each context and, in general, more specific contexts have a higher priority than less specific contexts. For example, title in chapter is more specific than title anywhere in body, so title in chapter has a higher priority.
When you add positions or XPath predicates to contexts, Arbortext Styler isn't always able to determine which context takes priority. In such cases, you can alter the priority by reordering contexts. You may also reorder the contexts if you wish to override Style's default priority assignation based on complexity.
To Reorder Contexts
In the Elements list select the context whose priority you wish to change.
Click the up or down arrows in the Arbortext Styler toolbar to increase or decrease the priority of the context respectively.
This is an image showing the toolbar buttons to be used to change the priority of the “title in chapter” context
* 
Be careful when reordering contexts. Reordering contexts changes their priority and thus affects formatting.
In addition, you must specify a context's priority if you edit an element’s source and add new contexts, or if you export a FOSI or XSL stylesheet to which you add e-i-cs or templates.