Enabled pseudo selector rule generation

Added function to replace dashed pseudo selectors in filenames, e.g.
button-hover.png to create correct pseudo selector styles, e.g.
button:hover {...}