Decision tree "framework"

Added "framework" to my guard's decision tree
Pretty sure what's happening is magic. Sort of delegating functions and
storing them as actions, which will be really easy for us to parse
symbols in a file later on and storing those in the nodes as runtime
anonymous functions.