class CssRulesDefinition implements RulesDefinition {

  @Override
  public void define(Context context) {
    NewRepository repository = context
      .createRepository(CheckList.CSS_REPOSITORY_KEY, CssLanguage.KEY)
      .setName(CheckList.CSS_REPOSITORY_NAME);

    new AnnotationBasedRulesDefinition(repository, CssLanguage.KEY).addRuleClasses(false, CheckList.getCssChecks());
    repository.done();
  }

}