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?
CREATE TABLE "tonnage_for_port_of_anchorage" (
  "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
);
SELECT MAX("u_s_rank") FROM "tonnage_for_port_of_anchorage" WHERE "foreign_total_s_ton">'703,638' AND "year"<2005 AND "foreign_imports_s_ton"='284,347' AND "foreign_exports_s_ton"<'478,317';