private com.dianping.cat.home.rule.entity.Config buildDefaultConfig() {
com.dianping.cat.home.rule.entity.Config config = new com.dianping.cat.home.rule.entity.Config();
config.setStarttime("00:00");
config.setEndtime("24:00");
Condition condition = new Condition();
SubCondition descPerSubcon = new SubCondition();
SubCondition descValSubcon = new SubCondition();
descPerSubcon.setType("DescPer").setText("50");
descValSubcon.setType("DescVal").setText("100");
condition.addSubCondition(descPerSubcon).addSubCondition(descValSubcon);
config.addCondition(condition);
return config;
}