Fig. 5. Graph transformation system for a fragment of the class diagram in Fig. 2