I don't know for sure that I was within the rules. I simply didn't pay attention to them. I remember understanding that in the US it is as you say and I would not be able to work for a company outside the US. I should have done more research but it was all spur of the moment, all I really cared about was how long I was able to stay in each country.
more info: http://en.wikipedia.org/wiki/Visa_requirements_for_Canadian_...