Replaced Rectangle.equals but operator==.
Merge pull request #588 from Morwenn/operator_equal

Replaced Rectangle.equals but operator==.