SO your saying the heat treat affects how easily it rusts?
I dont understand that. Can you explain please?
I don't understand the whole story, but heat treatment has a huge effect on what elements end up in solution, and which ones form carbides. For instance, if you high temper stuff like 3V, Elmax, M390 etc it causes secondary carbide precipitation (more carbides such as chromium and vanadium carbides) which means less of these elements dissolved in solution. (The more carbides incidentally the less edge stability). While if you low temper more of it remains in solution as you don't reach have the secondary carbide precipitation, so more chromium is tied up with carbon to prevent rust.
Again, that's about as basic of a description as you can get, but you get the idea.
People often simplify metallurgy way to much. For instance the idea that softer blade is necessarily tougher is not true. Some steels (like O1 for instance) have embrittlement zones in the high 50's and are tougher at 60-61.