re-use already declared optimizer rules for all queries