Figure 1. Application of rule-based constraints.