retaining rule order, added media filters, changed syntax