Rules were not applied to orders (#1290)