Make dummyRule local in the optimizer.