Added PDF page count rule