Support rect() type
Merge pull request #46 from dstockwell/rect-type

Support rect() type