Rect support

Could someone make sure this compiles on Xamarin and Win8/WP8 before it's merged in?

Cheers