Production system design: A directed graph approach