addPageRule Method test sample