The design of rule engine based on rule controlled process management