Correct pages_not_xml rule (closes #3545)