Will implement the is.redundant() function similar to the one here: https://rdrr.io/cran/arules/man/is.redundant.html
A rule is redundant if a more general rules with the same or a higher confidence exists. That is, a more specific rule is redundant if it is only equally or even less predictive than a more general rule.
As FP Growth is an exhaustive algorithm, many of the rules it produces are redundant. Therefore there is merit in implementing this function to spark. This not only reduces the total number of rules produced in the output, but also produces better rules.