Adding decision tree composite pattern