- implemented chain matcher with 2 modes. (chain & chain_old)
- matching_tree renamed