SONAR-4535 Replace rule id type from long to int in dtos