Add phases and condition types, then define rules. Set current conditions and compute phase.
Load a template to fill phases, condition types, rules, and optional default current conditions.
First matching rule wins. Each rule: pick a phase and one or more (condition type, status) pairs. All = every pair must match; Any = at least one.