fix oss rules validation errors