- Improved Replace::apply_rule method, which now correclty identifies overlapping polygons.