Add tree example so far
Separate stochastic rule class from tree example