class ContainerRulesConfigPresenter {

    public void onRuleConfigUpdate(@Observes final RuleConfigUpdated configUpdate) {
        if (configUpdate != null &&
                configUpdate.getRuleConfig() != null &&
                configUpdate.getReleasedId() != null) {
            setRuleConfig(configUpdate.getRuleConfig(),
                          configUpdate.getReleasedId().getVersion());
        } else {
            logger.warn("Illegal event argument.");
        }
    }

    @Inject public  ContainerRulesConfigPresenter(final Logger logger,
                                         final View view,
                                         final Caller<RuleCapabilitiesService> ruleCapabilitiesService,
                                         final Event<NotificationEvent> notification);

}