Added TR_leaf10 rule. Bug fix on some entry conditions