Fixed a bug when creating new Linkage Rules