@Override
protected RuleFilter buildRuleFilter(final IExpression expr, final Object arg) {
if (this.booleanIndex == null) {
final BasicOperator root = this.indexScanCreator.getRoot();
this.booleanIndex = new BooleanIndexScan((root instanceof Root)? (Root) root : null);
this.indexScanCreator.getRoot().addSucceedingOperator(new OperatorIDTuple(this.booleanIndex, 0));
this.booleanIndex.addPrecedingOperator(this.indexScanCreator.getRoot());
}
RuleFilter filter = null;
if (!this.usesEqualities || !(expr instanceof Equality)) {