rules pages modified to be pages rather than posts