cannot convert from element type org.languagetool.rules.Rule to Rule

Add
import org.languagetool.rules.Rule;

1 Like