Rule-level verification of graph transformations for invariants based