fixed rules kind predicate
Merge branch 'rules-kind-bug' into develop