Structural non-interference in elementary and trace nets