Object-oriented modeling and simulation of flexible manufacturing systems: a rule-based procedure