The only way to get around the "spending US money" rule is if you have a source of income earned outside of the USA. A good example is if you had rental income from a house overseas. Changing US dollars into Canadian dollars would still violate the rules becuase the original US dollars were most likely earned in the US.