connections obey rules acording to classdefs in PI.js