rules for pdf files