Exclude all declarations containing -webkit-gradient, not just leading.
Added recursive processing of nested rules.
Removed trailing zeroes from numbers.