Parties finalizing rules for first presidential debate on Jan. 31