rules added for gii, page and product (not completed yet)