Changed rules for new nodes

Changed rules for new nodes
1. Only one rule (#3): trunk outputs should not be subset of any branch
outputs
2. Trunk chosen by max of 5 rand sample