MapCSS optimization by caching rules for similar ways.