PGMapCSS is a library for PostgreSQL/PostGIS which works between an osm2pgsql based database and Mapnik (and maybe other renderers). It processes database (usually OpenStreetMap) objects according to MapCSS rules and calculates resulting colors, widths and other properties for Symbolizers, even geometric modifications.
Dates in CHANGELOG.md for release of version 0.10.0 and 0.10.1 seems to be wrong, or was they really released over a year ago?