rules to make complete PDF