There already exists the project "doesitrender" by Stefano Sebastiani that tries to extract the tags that are used for rendering the openstreetmap-carto style: https://github.com/sabas/doesitrender Martin