Before:
<head>
<style>
body{color:silver}
.class1{color:red}
.class1:hover{color:blue !important}
.class2{color:purple}
</style>
</head>
<body>
<a class="class1"></a>
<a class="class2"></a>
</body>
After:
<head>
<style>
.class1:hover{color:blue !important}
</style>
</head>
<body style="color:silver">
<a class="class1" style="color:red"></a>
<a style="color:purple"></a>
</body>
styliner does this, and juice sort of does.