It chances the data-type to provide support for a set of rules. Each rule has a Left Hand Side and a Right Hand Side with each one been a network. Additionally each rule has a name and a mapping which is a bijection between interface nodes in the LHS and interface nodes in the RHS of the same rule. This is represented by a set of pairs.
This patch also introduces the graphical elements to allow the set of rules.