Changed rules so it's more propper and made default tree generation so I don't have to change code in multiple places