}
@Override
public CreateRuleResult createRule(String topicPath,
String subscriptionName, RuleInfo rule) {
return new CreateRuleResult(getResource().path(topicPath)
.path("subscriptions").path(subscriptionName).path("rules")
.path(rule.getName())
.type("application/atom+xml;type=entry;charset=utf-8")
.put(RuleInfo.class, rule));
}