fixed rules ordering