fixed rule priority stuff i broke