Graph Grammars as Context-dependent rewriting Systems: A Partial Ordering Semantics