only preview rules on relevant pages (index or not)