Add Rule to Pagination