Fixing up linear-gradient rules.