throws MedorException, ExpressionException {
ArrayList rules = new ArrayList();
rules.add(new PushNotInExpressionRule());
if (mapper.getMapperName().startsWith("rdb")) {
rules.add(new FlattenQueryTreeRule());
rules.add(new Jorm2Rdb());
rules.add(new Like2SQL());
} else {
}
QueryTree optimizedQT = qt;