Map rules refined and connection rules started

To go: Maprules update
connectionRules add
connectionrules update