Text this: Rule-based modeling of supply chain quality management