Create the mapping of styles. This will change since the new renderer is different than I thought also I suck at regex and should get better.