fix lcms rules