A simple example
>library(partykit)
> partykit:::.list.rules.party(ctree(Petal.Length~.,data=iris))
2
"Petal.Width <= 0.6"
6
"Petal.Width > 0.6 & Sepal.Length <= 6.2 & Petal.Width <= 1.3 & Sepal.Length <= 5.5"
7
"Petal.Width > 0.6 & Sepal.Length <= 6.2 & Petal.Width <= 1.3 & Sepal.Length > 5.5"
....
For example, in the second rule, the two occurrences of Sepal.Length
can be consolidated into Sepal.Length<=5.5
So, is there a way to consolidate the rules?