for (int i = 0; i < contents.length; i++) {
String content = contents[i];
Condition c = new Condition(content);
List<String> params = c.getParamNames();
for (final String paramName : params) {
UserProperty up = profile.getProperty(paramName);
PropertyMeta prop = up.getMeta();
String value = null == up ? null : up.getValue();
if (StringUtils.isNotEmpty(value)) {
if (value.equals(Restriction.ALL)) {
content = "";
} else {
content = StringUtils.replace(content, ":" + prop.getName(), ":" + prop.getName()