Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_43644 ( "Year" real, "U.S. Rank" real, "Total s Ton" real, "Domestic s Ton" real, "Foreign Total s Ton" real, "Foreign Imports s Ton" real, "Foreign Exports s Ton" real )

### Question ###
what is the highest u.s. rank when the foreign total s ton is more than 703,638, the year is earlier than 2005, the foreign imports s ton is 284,347 and the foreign exports s ton is smaller than 478,317?

### Accurate SQL ###

SELECT MAX("U.S. Rank") FROM table_43644 WHERE "Foreign Total s Ton" > '703,638' AND "Year" < '2005' AND "Foreign Imports s Ton" = '284,347' AND "Foreign Exports s Ton" < '478,317'