connect rule parser to tree
Rule managing functions