}
@Override
public List<Rule> createRules() {
List<Rule> rules = new ArrayList<>();
PluginConfigurationReader pluginConfigurationReader = new PluginConfigurationReaderImpl();
RulePluginRepository rulePluginRepository;
try {
rulePluginRepository = new RulePluginRepositoryImpl(pluginConfigurationReader);
} catch (PluginRepositoryException e) {
throw new SonarException("Cannot read rules.", e);