adds to_rule_cpd method in TreeCPD class
Merge pull request #165 from ankurankan/dev

adds to_rule_cpd method in TreeCPD class