The Director may by rule prescribe that any document to be filed in the Patent and Trademark Office and which is required by any law, rule, or other regulation to be under oath may be subscribed to by a written declaration in such form as the Director may prescribe, such declaration to be in lieu of the oath otherwise required.