implemented choose_rule and other refactorings
created chaining conf file
loading and choosing rule(a handle to a chosen BindLink instance)