Fixed TreeGeneratingRuleSelector for case when only leaf node producing rule is presented.