Rules Factory - Tab Presentation: Rule

For each rule there are some presentation settings, which are not influencing the rule calculation,

but they are used to specify when rule should (or shouldn't) be displayed on the gantt (or in legality detail check).


  1. Violations days back: defines how far in the past (according to current UTC time) the violation should be displayed.
  2. Violations days forward: defines how far in the future (according to current UTC time) the violation should be displayed
  3. When to display violation: 
    • always 
    • time index - only if TimeIndex* taken from rule calculation 
    • period start - only valid for period rule*
    • period end - only valid for period rule*

*period rule is a rule which uses long term legality aggregated values (accumulator) (an example of such rule is yearly BLH rule)

Example for option 1&2

Under coverage rule violations are only displayed for future flights (days back = 0) and no more than 60 days in advance.

Example for option 3)

The monthly OFF violations will be only displayed if last day of the month is included in the gantt.

Let's assume the rule violates for AUG 2017.

With the Always setting, the violation will be displayed if any day of August is displayed in the gantt.
With the PeriodEnd setting, the violation will be displayed if 31AUG2017 is displayed in the gantt.
With the PeriodStart setting, the violation will be displayed if 01AUG2017 is displayed in the gantt.
With the TimeIndex setting, the violation will be displayed if TimeIndex* is displayed in the gantt.

*TimeIndex is a date/time value which can be customized in rule calculation