rule
process-end condition? local-declaration* action*
process-end is a rule meant to handle any clean up processing for a program (e.g., to finalize output
to files). A program can contain more than one process-end rule. These rules are examined in the
order in which they appear in the program. When the rule is examined, the rule is executed if it has no
condition, or if condition evaluates to true; once its execution has completed,
OmniMark examines the next process-end rule.
process-end rules are tried after process-start and process rules.