impl polygon raster rule