﻿<cms_macrorule version="7.0">
  <NewDataSet>
    <cms_macrorule>
      <MacroRuleID>184</MacroRuleID>
      <MacroRuleName>CMSActivityBlogCommentPerformedForBlog</MacroRuleName>
      <MacroRuleText>Activity 'Blog comment' {_was} performed for blog {blog}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="blog" fieldcaption="select blog" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$blogselector.noitemselected$}" publicfield="false" guid="f82df350-371a-4f56-8f16-f4b79c18b42f" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;blogselector&lt;/controlname&gt;&lt;ReturnColumnName&gt;NodeGUID&lt;/ReturnColumnName&gt;&lt;OnlyUsersBlogs&gt;False&lt;/OnlyUsersBlogs&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="1f274e78-0f6a-4b66-8c76-65417a783179" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.517+08:00</MacroRuleLastModified>
      <MacroRuleGUID>ff7b5241-284c-47a1-9e32-d199c51d4250</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("cms.blog", "{blog}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Blog comment' performed for blog</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityblogcommentperformedforblog.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>190</MacroRuleID>
      <MacroRuleName>CMSActivityBlogPostSubscriptionPerformedForBlog</MacroRuleName>
      <MacroRuleText>Activity 'Blog post subscription' {_was} performed for blog {blog}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="7248ca2b-02da-4c3d-bcc1-14297f66b1a7" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="blog" fieldcaption="select blog" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$blogselector.noitemselected$}" publicfield="false" guid="cb0efb34-5080-4e6c-9290-6871d62dc3fd" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;blogselector&lt;/controlname&gt;&lt;ReturnColumnName&gt;NodeGUID&lt;/ReturnColumnName&gt;&lt;OnlyUsersBlogs&gt;False&lt;/OnlyUsersBlogs&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.313+08:00</MacroRuleLastModified>
      <MacroRuleGUID>7d2e2fb9-b763-4e60-bbd9-dd23a5521827</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("cms.blog", "{blog}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Blog post subscription' performed for blog</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityblogpostsubscriptionperformedforblog.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>157</MacroRuleID>
      <MacroRuleName>CMSActivityClickedNewsletterLinkPerformedForIssue</MacroRuleName>
      <MacroRuleText>Activity 'Clicked newsletter link' {_was} performed for newsletter issue {issue}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="issue" fieldcaption="select newsletter issue" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$issueselector.noitemsselected$}" publicfield="false" guid="eea43750-fcfb-4d3d-a083-765857575d9e" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;newsletterissueselector&lt;/controlname&gt;&lt;ReturnColumnName&gt;IssueGUID&lt;/ReturnColumnName&gt;&lt;ShowVariants&gt;False&lt;/ShowVariants&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" validationerrormessage="{$issueselector.noitemsselected$}" publicfield="false" guid="a6b49ad2-4712-4117-a8a9-1ac17a6e785d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.077+08:00</MacroRuleLastModified>
      <MacroRuleGUID>34062788-d669-4269-8b05-ae34e85b325f</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("newsletter.issue", "{issue}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Clicked newsletter link' performed for issue</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityclickednewsletterlinkperformedforissue.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>158</MacroRuleID>
      <MacroRuleName>CMSActivityClickedNewsletterLinkPerformedForNewsletter</MacroRuleName>
      <MacroRuleText>Activity 'Clicked newsletter link' {_was} performed for newsletter {newsletter}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="newsletter" fieldcaption="select newsletter" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" validationerrormessage="{$newslettersubscription.noneselected$}" publicfield="false" guid="b2a43a50-f83e-4555-9d03-47a3c8227717" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;newsletterselectorsimple&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="8b04c125-0ed9-4005-955e-996881fe08dc" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.1+08:00</MacroRuleLastModified>
      <MacroRuleGUID>b977cdad-bcc3-4435-9866-fe3000daf28f</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("newsletter.newsletter", "{newsletter}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Clicked newsletter link' performed for newsletter</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityclickednewsletterlinkperformedfornewsletter.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>181</MacroRuleID>
      <MacroRuleName>CMSActivityContentRatingPerformedWithARatingBetween</MacroRuleName>
      <MacroRuleText>Activity 'Content rating' {_was} performed with a rating value between {fromval}% and {toval}%</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="toval" fieldcaption="choose percentage value" visible="true" columntype="integer" fieldtype="CustomUserControl" minnumericvalue="0" maxnumericvalue="100" validationerrormessage="{$general.percentagebetween$}" publicfield="false" guid="563668ef-7e05-4cea-8905-9a5beef10e71" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="6c51e580-d5f2-4d42-a044-6d43e4aa1e09" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="fromval" fieldcaption="choose percentage value" visible="true" columntype="integer" fieldtype="CustomUserControl" minnumericvalue="0" maxnumericvalue="100" validationerrormessage="{$general.percentagebetween$}" publicfield="false" guid="8035b5b4-0e0c-4bb9-b5eb-4e7351524391" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.29+08:00</MacroRuleLastModified>
      <MacroRuleGUID>6e7e37cc-8989-4aab-8776-fbd86d448481</MacroRuleGUID>
      <MacroRuleCondition>{_was}(Activity.ActivityValue &lt;= (ToDouble({toval})/100) &amp;&amp; Activity.ActivityValue &gt;= (ToDouble({fromval})/100))</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Content rating' performed with a rating between</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivitycontentratingperformedwitharatingbetween.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>192</MacroRuleID>
      <MacroRuleName>CMSActivityExternalSearchPerformedForKeyword</MacroRuleName>
      <MacroRuleText>Activity 'External search' {_was} performed for keyword that {op} {keyword}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="57d0b59b-018f-495d-9299-3f5085b09594" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="keyword" fieldcaption="enter keyword" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="c6894798-5643-45fe-82dc-14d06bc809b9" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue="Contains;contains" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="65462e19-f031-4895-9b8d-8e0de3d119c1" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_text_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;Contains;contains
NotContains;does not contain
StartsWith;starts with
EndsWith;ends with
Equals;is equal to
NotEquals;is not equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.213+08:00</MacroRuleLastModified>
      <MacroRuleGUID>71244e6f-5cfa-4060-9fdd-5de47e8a3f50</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.SearchInfo.SearchKeywords.{op}("{keyword}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'External search' performed for keyword</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityexternalsearchperformedforkeyword.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>161</MacroRuleID>
      <MacroRuleName>CMSActivityFormSubmissionPerformedForForm</MacroRuleName>
      <MacroRuleText>Activity 'Form submission' {_was} performed for form {form}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="form" fieldcaption="select form" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="b40519bd-6871-45bd-91ec-22664cce93c7" visibility="none"&gt;&lt;settings&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;ObjectType&gt;cms.form&lt;/ObjectType&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;ReturnColumnName&gt;FormName&lt;/ReturnColumnName&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;SelectionMode&gt;1&lt;/SelectionMode&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;ObjectSiteName&gt;#currentandglobal&lt;/ObjectSiteName&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;ResourcePrefix&gt;bizformselect&lt;/ResourcePrefix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="05c49c2b-f8d8-40dc-a7cb-cb76569eb92d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.33+08:00</MacroRuleLastModified>
      <MacroRuleGUID>4b7245be-09ad-4486-a499-03babb4c7314</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("cms.form", "{form}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Form submission' performed for form</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityformsubmissionperformedforform.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>162</MacroRuleID>
      <MacroRuleName>CMSActivityForumPostPerformedForForum</MacroRuleName>
      <MacroRuleText>Activity 'Forum post' {_was} performed for forum {forum}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="forum" fieldcaption="select forum" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="f8f8f4b3-ad22-4edb-b96a-9b361ca4e6f1" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;forumselector&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="fc3b53f5-8fd8-493a-9f88-9afab961e1bd" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.557+08:00</MacroRuleLastModified>
      <MacroRuleGUID>25f7e9eb-b3b1-4932-891b-1d3381325b03</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("forums.forum", "{forum}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Forum post' performed for forum</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityforumpostperformedforforum.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>163</MacroRuleID>
      <MacroRuleName>CMSActivityForumPostSubscriptionPerformedForForum</MacroRuleName>
      <MacroRuleText>Activity 'Forum post subscription' {_was} performed for forum {forum}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="forum" fieldcaption="select forum" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="505dee00-fd62-463d-b018-50d4e75adb7d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;forumselector&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="5ce11c03-1d59-43a1-925e-fb52b8234a74" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.573+08:00</MacroRuleLastModified>
      <MacroRuleGUID>e5609dbf-436e-434b-b81b-ec239eed93fb</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("forums.forum", "{forum}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Forum post subscription' performed for forum</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityforumpostsubscriptionperformedforforum.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>191</MacroRuleID>
      <MacroRuleName>CMSActivityInternalSearchPerformedForKeyword</MacroRuleName>
      <MacroRuleText>Activity 'Internal search' {_was} performed for keyword that {op} {keyword}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="77cd80ad-2923-4997-8ca6-32063f2db689" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="keyword" fieldcaption="enter keyword" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="043ee3e1-64a3-411b-9ace-9bcae335bd8c" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue="Contains;contains" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="37c70c95-e580-4000-8662-2d0608e3dc6f" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_text_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;Contains;contains
NotContains;does not contain
StartsWith;starts with
EndsWith;ends with
Equals;is equal to
NotEquals;is not equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.333+08:00</MacroRuleLastModified>
      <MacroRuleGUID>54472907-48c7-4086-8e5c-0a691826c5cf</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.SearchInfo.SearchKeywords.{op}("{keyword}")	</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Internal search' performed for keyword</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityinternalsearchperformedforkeyword.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>164</MacroRuleID>
      <MacroRuleName>CMSActivityJoiningAGroupPerformedForGroup</MacroRuleName>
      <MacroRuleText>Activity 'Joining a group' {_was} performed for group {group}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="group" fieldcaption="select community group" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="e8ed888e-5513-4f17-bd3a-2361ebac5c24" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;membershipgroupselector&lt;/controlname&gt;&lt;ShowCurrentSiteGroups&gt;True&lt;/ShowCurrentSiteGroups&gt;&lt;MultiSelection&gt;False&lt;/MultiSelection&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="b11b6596-c3d5-438c-842e-cc22ecf71401" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.123+08:00</MacroRuleLastModified>
      <MacroRuleGUID>7a832b14-4df2-403e-9c7c-93f57b4bf5df</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("community.group", "{group}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Joining a group' performed for group</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityjoiningagroupperformedforgroup.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>165</MacroRuleID>
      <MacroRuleName>CMSActivityLeavingAGroupPerformedForGroup</MacroRuleName>
      <MacroRuleText>Activity 'Leaving a group' {_was} performed for group {group}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="group" fieldcaption="select community group" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="6b33160d-0ef4-4647-a70a-f4766e0e3544" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;membershipgroupselector&lt;/controlname&gt;&lt;ShowCurrentSiteGroups&gt;True&lt;/ShowCurrentSiteGroups&gt;&lt;MultiSelection&gt;False&lt;/MultiSelection&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="288557d5-6f6a-43a7-9c3a-cb67d320acdc" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.15+08:00</MacroRuleLastModified>
      <MacroRuleGUID>26b77222-d789-47b7-8f50-7ad89fedb4bc</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("community.group", "{group}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Leaving a group' performed for group</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityleavingagroupperformedforgroup.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>167</MacroRuleID>
      <MacroRuleName>CMSActivityMessageBoardCommentPerformedForMessageBoard</MacroRuleName>
      <MacroRuleText>Activity 'Message board comment' {_was} performed for message board {board}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="board" fieldcaption="select message board" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$board.nomessageboardselected$}" publicfield="false" guid="910782d8-81fe-40cb-b8ae-e3da6c938cae" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;messageboardselector&lt;/controlname&gt;&lt;ReturnColumnName&gt;BoardGUID&lt;/ReturnColumnName&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="8b8a54ea-b727-4b91-964e-3466d39e5d2d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.01+08:00</MacroRuleLastModified>
      <MacroRuleGUID>c63764ed-3599-49bf-8cf1-6ac5a3c84955</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("board.board", "{board}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Message board comment' performed for message board</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivitymessageboardcommentperformedformessageboard.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>168</MacroRuleID>
      <MacroRuleName>CMSActivityMessageBoardSubscriptionPerformedForMessageBoard</MacroRuleName>
      <MacroRuleText>Activity 'Message board subscription' {_was} performed for message board {board}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="board" fieldcaption="select message board" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$board.nomessageboardselected$}" publicfield="false" guid="599b5457-b215-49ba-8b2a-30b5c2002061" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;messageboardselector&lt;/controlname&gt;&lt;ReturnColumnName&gt;BoardGUID&lt;/ReturnColumnName&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="a88662e0-3e28-4fdb-bbad-b0d01e52a6a3" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.067+08:00</MacroRuleLastModified>
      <MacroRuleGUID>f586b86d-28e5-413d-be5e-e3e0e7f514d2</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("board.board", "{board}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Message board subscription' performed for message board</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivitymessageboardsubscriptionperformedformessageboard.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>169</MacroRuleID>
      <MacroRuleName>CMSActivityNewsletterSubscriptionPerformedForNewsletter</MacroRuleName>
      <MacroRuleText>Activity 'Newsletter subscription' {_was} performed for newsletter {newsletter}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="newsletter" fieldcaption="select newsletter" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="8618a08a-618b-4191-b7c9-2130bb35f239" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;newsletterselectorsimple&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="27fd07dd-398e-42c4-a12d-d6bb430841c5" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.097+08:00</MacroRuleLastModified>
      <MacroRuleGUID>12b6e684-dcf4-404e-ad07-01a46f60a565</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("newsletter.newsletter", "{newsletter}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Newsletter subscription' performed for newsletter</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivitynewslettersubscriptionperformedfornewsletter.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>171</MacroRuleID>
      <MacroRuleName>CMSActivityNewsletterUnsubscriptionPerformedForNewsletter</MacroRuleName>
      <MacroRuleText>Activity 'Newsletter unsubscription' {_was} performed for newsletter {newsletter}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="newsletter" fieldcaption="select newsletter" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="757fd5b2-a8c4-483e-9fa1-1aabd8cfbe8c" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;newsletterselectorsimple&lt;/controlname&gt;&lt;ShowVariantName&gt;True&lt;/ShowVariantName&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="dba75295-fc65-420f-9e02-ea111cd3d577" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.17+08:00</MacroRuleLastModified>
      <MacroRuleGUID>5aaeb6d9-803c-4f10-9129-ab25e4c378b2</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("newsletter.newsletter", "{newsletter}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Newsletter unsubscription' performed for newsletter</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivitynewsletterunsubscriptionperformedfornewsletter.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>172</MacroRuleID>
      <MacroRuleName>CMSActivityOpenedNewsletterE-mailPerformedForIssue</MacroRuleName>
      <MacroRuleText>Activity 'Opened newsletter e-mail' {_was} performed for newsletter issue {issue}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="issue" fieldcaption="select newsletter issue" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$issueselector.noitemsselected$}" publicfield="false" guid="2f515c2a-687e-49d2-98cd-2feaccf9acd9" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;newsletterissueselector&lt;/controlname&gt;&lt;ReturnColumnName&gt;IssueGUID&lt;/ReturnColumnName&gt;&lt;ShowVariants&gt;False&lt;/ShowVariants&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="e212f57f-85d5-4941-aaaf-7ceb820384d4" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.19+08:00</MacroRuleLastModified>
      <MacroRuleGUID>9d05a889-4a23-4da0-8e33-aa7c1f64349b</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("newsletter.issue", "{issue}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Opened newsletter e-mail' performed for issue</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityopenednewslettere-mailperformedforissue.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>173</MacroRuleID>
      <MacroRuleName>CMSActivityOpenedNewsletterE-mailPerformedForNewsletter</MacroRuleName>
      <MacroRuleText>Activity 'Opened newsletter e-mail' {_was} performed for newsletter {newsletter}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="newsletter" fieldcaption="select newsletter" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="55a7d1a9-b19f-4475-9ab7-50d5157a50f2" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;newsletterselectorsimple&lt;/controlname&gt;&lt;ShowVariantName&gt;True&lt;/ShowVariantName&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="c2609d2b-f531-4c20-a062-e7a6230be75d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.157+08:00</MacroRuleLastModified>
      <MacroRuleGUID>25526574-a058-4bf2-9ad4-2b3bb1da567a</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("newsletter.newsletter", "{newsletter}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Opened newsletter e-mail' performed for newsletter</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityopenednewslettere-mailperformedfornewsletter.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>185</MacroRuleID>
      <MacroRuleName>CMSActivityPerformedForDocument</MacroRuleName>
      <MacroRuleText>Activity {_was} performed for document {document}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="441f9355-f2cd-4a00-9999-b56da7360464" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="document" fieldcaption="select document" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="c9bc2f90-6d51-48d4-96ca-80483c566748" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectdocument&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.537+08:00</MacroRuleLastModified>
      <MacroRuleGUID>0eb3a6b4-bc8e-4a5a-805b-0c211f033aec</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("cms.node", "{document}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity performed for document</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityperformedfordocument.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>186</MacroRuleID>
      <MacroRuleName>CMSActivityPerformedForURL</MacroRuleName>
      <MacroRuleText>Activity {_was} performed for url that {op} {url}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="f846e628-055d-4598-8379-6b717dec8bf3" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="url" fieldcaption="enter URL" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="0398ede9-1654-485d-b2bb-02803c41008e" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue="Contains;contains" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="66e2e9ef-bd0d-4555-9614-ae88ff7bea27" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_text_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;Contains;contains
NotContains;does not contain
StartsWith;starts with
EndsWith;ends with
Equals;is equal to
NotEquals;is not equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.943+08:00</MacroRuleLastModified>
      <MacroRuleGUID>aed1935a-6286-4387-a5b5-b597f1996a61</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.ActivityURL.{op}("{url}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity performed for URL</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityperformedforurl.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>187</MacroRuleID>
      <MacroRuleName>CMSActivityPerformedInCulture</MacroRuleName>
      <MacroRuleText>Activity {_was} performed in culture {culture}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="484b141b-19fb-4720-8c51-9f5c11314ab9" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="culture" fieldcaption="select culture" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="0be8e76e-b0fa-4b59-89dd-6a0140e3b237" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectculture&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.357+08:00</MacroRuleLastModified>
      <MacroRuleGUID>17495961-1068-43b4-9c73-fb903342067e</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.ActivityCulture == "{culture}"</MacroRuleCondition>
      <MacroRuleDisplayName>Activity performed in culture</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityperformedinculture.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>175</MacroRuleID>
      <MacroRuleName>CMSActivityPollVotingPerformedForPoll</MacroRuleName>
      <MacroRuleText>Activity 'Poll voting' {_was} performed for poll {poll}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="poll" fieldcaption="select poll" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="51525ca0-50a3-42a6-9145-7855b23228a5" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;pollselector&lt;/controlname&gt;&lt;ShowSiteFilter&gt;False&lt;/ShowSiteFilter&gt;&lt;GroupSelector&gt;False&lt;/GroupSelector&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="d69e18e6-f3d8-446f-9b1e-e26053495b3a" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.47+08:00</MacroRuleLastModified>
      <MacroRuleGUID>433c16d7-c763-4854-8df1-3719188d7206</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("polls.poll", "{poll}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Poll voting' performed for poll</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivitypollvotingperformedforpoll.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>176</MacroRuleID>
      <MacroRuleName>CMSActivityProductAddedToShoppingCartPerformedForProduct</MacroRuleName>
      <MacroRuleText>Activity 'Product added to shopping cart' {_was} performed for product {product}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="product" fieldcaption="select product" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$productselector.noitemsselected$}" publicfield="false" guid="e01839d9-76bd-4397-b26e-4c63fae033c0" visibility="none"&gt;&lt;settings&gt;&lt;DisplayBundles&gt;True&lt;/DisplayBundles&gt;&lt;DisplayMemberships&gt;True&lt;/DisplayMemberships&gt;&lt;DisplayDonations&gt;True&lt;/DisplayDonations&gt;&lt;controlname&gt;skuselector&lt;/controlname&gt;&lt;DisplayEproducts&gt;True&lt;/DisplayEproducts&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;UseGUIDForSelection&gt;True&lt;/UseGUIDForSelection&gt;&lt;DisplayStandardProducts&gt;True&lt;/DisplayStandardProducts&gt;&lt;DisplayOnlyProductsWithoutOptions&gt;False&lt;/DisplayOnlyProductsWithoutOptions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="eee9c94b-7e88-4387-b857-6c6ca4ac9d29" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.497+08:00</MacroRuleLastModified>
      <MacroRuleGUID>0739bc19-7232-4267-8b24-0c6a53381e5d</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("ecommerce.sku", "{product}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Product added to shopping cart' performed for product</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityproductaddedtoshoppingcartperformedforproduct.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>177</MacroRuleID>
      <MacroRuleName>CMSActivityProductAddedToWishlistPerformedForProduct</MacroRuleName>
      <MacroRuleText>Activity 'Product added to wishlist' {_was} performed for product {product}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="product" fieldcaption="select product" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$productselector.noitemsselected$}" publicfield="false" guid="074bbdd3-8e91-4ac7-9594-edb0c991954f" visibility="none"&gt;&lt;settings&gt;&lt;DisplayBundles&gt;True&lt;/DisplayBundles&gt;&lt;DisplayMemberships&gt;True&lt;/DisplayMemberships&gt;&lt;DisplayDonations&gt;True&lt;/DisplayDonations&gt;&lt;controlname&gt;skuselector&lt;/controlname&gt;&lt;DisplayEproducts&gt;True&lt;/DisplayEproducts&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;UseGUIDForSelection&gt;True&lt;/UseGUIDForSelection&gt;&lt;DisplayStandardProducts&gt;True&lt;/DisplayStandardProducts&gt;&lt;DisplayOnlyProductsWithoutOptions&gt;False&lt;/DisplayOnlyProductsWithoutOptions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="c0dac1e1-69ad-4d86-87a4-79fde6507821" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.21+08:00</MacroRuleLastModified>
      <MacroRuleGUID>0e461262-dbbc-4cd1-bc38-dd304f8ba653</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("ecommerce.sku", "{product}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Product added to wishlist' performed for product</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityproductaddedtowishlistperformedforproduct.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>178</MacroRuleID>
      <MacroRuleName>CMSActivityProductRemovedFromShoppingCartPerformedForProduct</MacroRuleName>
      <MacroRuleText>Activity 'Product removed from shopping cart' {_was} performed for product {product}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="product" fieldcaption="select product" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$productselector.noitemsselected$}" publicfield="false" guid="b976da7b-b15b-44f4-92da-75cee73a7e0a" visibility="none"&gt;&lt;settings&gt;&lt;DisplayBundles&gt;True&lt;/DisplayBundles&gt;&lt;DisplayMemberships&gt;True&lt;/DisplayMemberships&gt;&lt;DisplayDonations&gt;True&lt;/DisplayDonations&gt;&lt;controlname&gt;skuselector&lt;/controlname&gt;&lt;DisplayEproducts&gt;True&lt;/DisplayEproducts&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;UseGUIDForSelection&gt;True&lt;/UseGUIDForSelection&gt;&lt;DisplayStandardProducts&gt;True&lt;/DisplayStandardProducts&gt;&lt;DisplayOnlyProductsWithoutOptions&gt;False&lt;/DisplayOnlyProductsWithoutOptions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="a0ec44ed-d204-456c-bee5-4be04bf76368" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.237+08:00</MacroRuleLastModified>
      <MacroRuleGUID>8c08dc29-819f-4fad-a17f-6ebac2ccc659</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("ecommerce.sku", "{product}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Product removed from shopping cart' performed for product</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivityproductremovedfromshoppingcartperformedforproduct.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>189</MacroRuleID>
      <MacroRuleName>CMSActivityPurchasePerformedWithAPriceValueBetween</MacroRuleName>
      <MacroRuleText>Activity 'Purchase' {_was} performed with a price value between {from} and {to}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="16c4b46e-1715-4f87-b3c2-a0e867ed4c00" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="from" fieldcaption="enter value" visible="true" columntype="double" fieldtype="CustomUserControl" publicfield="false" guid="7135064b-ad90-4012-bc10-4767eb3a38c7" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="to" fieldcaption="enter value" visible="true" columntype="double" fieldtype="CustomUserControl" publicfield="false" guid="60bb9e2e-de17-4184-830a-8fd1fadc0d34" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.127+08:00</MacroRuleLastModified>
      <MacroRuleGUID>048cce41-0f1e-41df-baa5-9aa767ceab64</MacroRuleGUID>
      <MacroRuleCondition>{_was}(Activity.ActivityValue &gt;= ToDouble({from}) &amp;&amp; Activity.ActivityValue &lt;= ToDouble({to}))</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Purchase' performed with a price value between</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivitypurchaseperformedwithapricevaluebetween.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>193</MacroRuleID>
      <MacroRuleName>CMSActivityPurchasedProductPerformedForProduct</MacroRuleName>
      <MacroRuleText>Activity 'Purchased product' {_was} performed for product {product}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="f39895c9-63ca-4586-afe3-e1660c24f598" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="product" fieldcaption="select product" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$productselector.noitemsselected$}" publicfield="false" guid="907e53bb-004d-4f4c-b08e-d3ba005704e4" visibility="none"&gt;&lt;settings&gt;&lt;DisplayBundles&gt;True&lt;/DisplayBundles&gt;&lt;DisplayMemberships&gt;True&lt;/DisplayMemberships&gt;&lt;DisplayDonations&gt;True&lt;/DisplayDonations&gt;&lt;controlname&gt;skuselector&lt;/controlname&gt;&lt;DisplayEproducts&gt;True&lt;/DisplayEproducts&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;UseGUIDForSelection&gt;True&lt;/UseGUIDForSelection&gt;&lt;DisplayStandardProducts&gt;True&lt;/DisplayStandardProducts&gt;&lt;DisplayOnlyProductsWithoutOptions&gt;False&lt;/DisplayOnlyProductsWithoutOptions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.247+08:00</MacroRuleLastModified>
      <MacroRuleGUID>538d4f1e-a4d4-4d07-ac5e-a61304249256</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("ecommerce.sku", "{product}")</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Purchased product' performed for product</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivitypurchasedproductperformedforproduct.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>188</MacroRuleID>
      <MacroRuleName>CMSActivityPurchasedProductPerformedForXUnitsOfProduct</MacroRuleName>
      <MacroRuleText>Activity 'Purchased product' {_was} performeprod for product {product} with the number of units between {from} and {to}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_was" fieldcaption="select operation" visible="true" defaultvalue=";was" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="bc10a93b-cb98-4725-8b57-57295fa18701" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;was
!;was not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="product" fieldcaption="select product" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$productselector.noitemsselected$}" publicfield="false" guid="cffa041a-74fb-4eb4-9959-69d85f36faf2" visibility="none"&gt;&lt;settings&gt;&lt;DisplayBundles&gt;True&lt;/DisplayBundles&gt;&lt;DisplayMemberships&gt;True&lt;/DisplayMemberships&gt;&lt;DisplayDonations&gt;True&lt;/DisplayDonations&gt;&lt;controlname&gt;skuselector&lt;/controlname&gt;&lt;DisplayEproducts&gt;True&lt;/DisplayEproducts&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;UseGUIDForSelection&gt;True&lt;/UseGUIDForSelection&gt;&lt;DisplayStandardProducts&gt;True&lt;/DisplayStandardProducts&gt;&lt;DisplayOnlyProductsWithoutOptions&gt;False&lt;/DisplayOnlyProductsWithoutOptions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="from" fieldcaption="enter value" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="4e9f2763-23de-48cd-98e0-60fa9448f7d2" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="to" fieldcaption="enter value" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="8028a4be-194f-4a69-8b66-b3d9b6c0b9a3" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.443+08:00</MacroRuleLastModified>
      <MacroRuleGUID>a66f90f0-7d46-491b-aa95-2b8404d8eb22</MacroRuleGUID>
      <MacroRuleCondition>{_was}Activity.LinkedToObject("ecommerce.sku", "{product}") &amp;&amp; (Activity.ActivityValue &gt;= {from} &amp;&amp; Activity.ActivityValue &lt;= {to})</MacroRuleCondition>
      <MacroRuleDisplayName>Activity 'Purchased product' performed for X units of product</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsactivitypurchasedproductperformedforxunitsofproduct.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>45</MacroRuleID>
      <MacroRuleName>CMSContactAgeIsBetween</MacroRuleName>
      <MacroRuleText>Contact age {_is} between {age1} and {age2}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="age1" fieldcaption="enter age" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="1e494250-0dc8-4810-9393-b9b8dcf8e196" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="age2" fieldcaption="enter age" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="75062f2b-7363-4991-8f5f-9142dcf84fe3" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="c88a2908-36af-4f13-9f26-9813780504f8" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.473+08:00</MacroRuleLastModified>
      <MacroRuleGUID>60b340ee-4b74-4b6b-9f10-e79cf378a406</MacroRuleGUID>
      <MacroRuleCondition>{_is}Contact.ContactAge.Between(ToInt({age1}), ToInt({age2}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact age is between</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactageisbetween.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>46</MacroRuleID>
      <MacroRuleName>CMSContactAgeIsGreaterThan</MacroRuleName>
      <MacroRuleText>Contact age {op} {age}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="age" fieldcaption="enter age" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="c4daab7d-07d3-4741-a5ce-e533656a1061" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue="&amp;gt;;is greater than" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="c82d8595-8fb6-42f7-9647-4f29ad705c5c" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_numeric_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;==;equal to
!=;does not equal to
&amp;gt;;is greater than
&amp;gt;=;is greater than or equal to
&amp;lt;;is lower than
&amp;lt;=;is lower than or equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.503+08:00</MacroRuleLastModified>
      <MacroRuleGUID>35e625d4-dc0e-46e0-871e-11959b1a6520</MacroRuleGUID>
      <MacroRuleCondition>Contact.ContactAge {op} ToInt({age}) &amp;&amp; Contact.ContactAge != 0</MacroRuleCondition>
      <MacroRuleDisplayName>Contact age is greater than</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactageisgreaterthan.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>42</MacroRuleID>
      <MacroRuleName>CMSContactFieldContainsValue</MacroRuleName>
      <MacroRuleText>Contact field {field} {op} {value}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="field" fieldcaption="select field" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" fielddescription="Select name of the field you want to use in the condition." publicfield="false" guid="8b9d5eb0-1725-48ba-91a7-3b3b996ad228" visibility="none"&gt;&lt;settings&gt;&lt;DataValueField&gt;Name&lt;/DataValueField&gt;&lt;controlname&gt;contact_class_fields&lt;/controlname&gt;&lt;ClassName&gt;om.contact&lt;/ClassName&gt;&lt;DataTextField&gt;Caption&lt;/DataTextField&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue="Contains;contains" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="3e3cdc8f-79bf-433d-8988-eca902c26e09" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_text_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;Contains;contains
NotContains;does not contain
StartsWith;starts with
EndsWith;ends with
Equals;is equal to
NotEquals;is not equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="value" fieldcaption="enter value" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="200" publicfield="false" guid="80c003cd-62ee-42f9-bc27-0bf1a6c42ea3" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.533+08:00</MacroRuleLastModified>
      <MacroRuleGUID>fdf51cf1-0b21-4aac-b98b-71125944377f</MacroRuleGUID>
      <MacroRuleCondition>Contact.{field}.{op}("{value}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact field contains value</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactfieldcontainsvalue.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>53</MacroRuleID>
      <MacroRuleName>CMSContactHasAtLeastXProductsInWishlist</MacroRuleName>
      <MacroRuleText>Contact has {has} {num} product(s) in wishlist</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="num" fieldcaption="enter number" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="1e007946-2eec-4087-8799-f246aaaef543" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="has" fieldcaption="enter text" visible="true" defaultvalue="&amp;gt;=;at least" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="f7d121d2-769d-403e-8fb7-077290dde42f" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;dropdownlistcontrol&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;&amp;gt;=;at least
&amp;lt;=;at most&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.867+08:00</MacroRuleLastModified>
      <MacroRuleGUID>8a3e7552-ad5f-41eb-a3b6-1fb74eb4fda3</MacroRuleGUID>
      <MacroRuleCondition>(Contact.Wishlist.Count {has} ToInt({num}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has at least X products in wishlist</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasatleastxproductsinwishlist.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>67</MacroRuleID>
      <MacroRuleName>CMSContactHasClickedALinkInNewsletterInTheLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} clicked a link in newsletter {item} in the last {days} day(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="item" fieldcaption="select newsletter" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="200" publicfield="false" guid="b9037a9d-3e1f-4682-9b68-a5fb6521c549" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;1&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;newsletter.newsletter&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;NewsletterName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;newsletterselect&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="38444f1e-1027-42c9-8e32-688e7212a1bb" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="f64f986f-9946-4546-a685-38f8720f7c47" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.793+08:00</MacroRuleLastModified>
      <MacroRuleGUID>a99cc193-134d-4efb-8f6f-3986b9bab17e</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.ClickedLinkInNewsletter("{item}", ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has clicked a link in newsletter in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasclickedalinkinnewsletterinthelastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>149</MacroRuleID>
      <MacroRuleName>CMSContactHasClickedALinkInNewsletterIssue</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} clicked a link in newsletter issue {issue}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="bd50741b-5d47-4a4f-b59b-58704bc8c04d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="issue" fieldcaption="select newsletter issue" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$issueselector.noitemsselected$}" publicfield="false" guid="4271380b-bd00-4d34-acdf-9fa8571f7dda" visibility="none"&gt;&lt;settings&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;ObjectType&gt;newsletter.issue&lt;/ObjectType&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;ReturnColumnName&gt;IssueGUID&lt;/ReturnColumnName&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;SelectionMode&gt;0&lt;/SelectionMode&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;ResourcePrefix&gt;newsletterissueselect&lt;/ResourcePrefix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.587+08:00</MacroRuleLastModified>
      <MacroRuleGUID>a2f1e889-d12f-482f-a1fd-3ea4834e6bc4</MacroRuleGUID>
      <MacroRuleCondition>Contact.ClickedLinkInNewsletterIssue("{issue}") </MacroRuleCondition>
      <MacroRuleDisplayName>Contact has clicked a link in newsletter issue</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasclickedalinkinnewsletterissue.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>150</MacroRuleID>
      <MacroRuleName>CMSContactHasClickedALinkInNewsletterIssueInLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} clicked a link in newsletter issue {issue} in the last {days} days.</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="ee2ca2de-ce3a-4d70-8843-1dcf1f2635a1" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="issue" fieldcaption="select newsletter issue" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$issueselector.noitemsselected$}" publicfield="false" guid="0474cac0-1c7e-4bf1-8410-0481ad8a48f8" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;0&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;newsletter.issue&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;IssueGUID&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;newsletterissueselect&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="047afea0-5a59-40a8-a354-4ae5107a03c7" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;FilterType&gt;0&lt;/FilterType&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.79+08:00</MacroRuleLastModified>
      <MacroRuleGUID>f15ab50d-c0e2-4e39-a406-4b8493dd0801</MacroRuleGUID>
      <MacroRuleCondition>Contact.ClickedLinkInNewsletterIssue("{issue}", ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has clicked a link in newsletter issue in last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasclickedalinkinnewsletterissueinlastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>154</MacroRuleID>
      <MacroRuleName>CMSContactHasClickedALinkInTheLastNewsletterIssue</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} clicked a link in the last newsletter issue</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="18a61ebe-611c-498a-9509-f4c1ea2e58e2" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.383+08:00</MacroRuleLastModified>
      <MacroRuleGUID>8c4d35d2-9a94-4f4d-8362-148f468892d2</MacroRuleGUID>
      <MacroRuleCondition>Contact.ClickedLinkInNewsletterIssue(AutomationState.GetLastNewsletterIssue().IssueGUID)</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has clicked a link in the last newsletter issue</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasclickedalinkinthelastnewsletterissue.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>71</MacroRuleID>
      <MacroRuleName>CMSContactHasComeToSpecifiedLandingPage</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} come to landing page {page}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="page" fieldcaption="select page" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="73e30082-df39-4e0c-bda1-93cd7cc03b5d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectsinglepath&lt;/controlname&gt;&lt;AllowSetPermissions&gt;False&lt;/AllowSetPermissions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="f5cc5af0-9cff-4836-9522-ce122a856345" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.017+08:00</MacroRuleLastModified>
      <MacroRuleGUID>78f662de-147b-4835-857c-cf28f3292795</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.CameToLandingPage("{page}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has come to the specified landing page</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthascometospecifiedlandingpage.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>76</MacroRuleID>
      <MacroRuleName>CMSContactHasDoneAnyActivityInTheLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} done any activity in the last {days} day(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="31152e2b-da39-4e41-9b71-8cea6cb08805" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="85664260-e4b0-4bbe-b10e-44250e37de7b" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.407+08:00</MacroRuleLastModified>
      <MacroRuleGUID>bf6e3304-2974-4e6a-8aa0-734e62c4fdad</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.DidActivity(null, null, ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has done any activity in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasdoneanyactivityinthelastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>75</MacroRuleID>
      <MacroRuleName>CMSContactHasDoneFollowingActivitiesInTheLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} done {_any} of the following activities in the last {days} day(s): {activities}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="76d0c396-505e-46be-8226-63c410ec5991" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="activities" fieldcaption="select activities" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="b9434960-7e90-4db8-868c-691daba74942" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;om.activitytype&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;ActivityTypeName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;activityselect&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="2d58f59e-e3c2-4509-a4b0-569705be4f3f" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="32b71352-fe8f-4de8-b43e-2f1db33a5ba9" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.38+08:00</MacroRuleLastModified>
      <MacroRuleGUID>bf285ca9-ba59-4085-b6ef-f97e69e335ac</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.DidActivities("{activities}", ToInt({days}), {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has done the following activities in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasdonefollowingactivitiesinthelastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>182</MacroRuleID>
      <MacroRuleName>CMSContactHasDownloadedSpecifiedFileInLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} downloaded file {item} in the last {days} day(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="4d9f30db-72cf-43b6-9bc8-0ecb820254de" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="item" fieldcaption="select file" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="0538ae35-5343-4911-aa86-9f4d266f6f4c" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectsinglepath&lt;/controlname&gt;&lt;AllowSetPermissions&gt;False&lt;/AllowSetPermissions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="cd63a86f-685a-4b8b-89b0-56b66a61b5da" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.31+08:00</MacroRuleLastModified>
      <MacroRuleGUID>d310cdb3-0862-4486-9a9f-abdc4df7201a</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.VisitedPage("{item}", ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has downloaded specified file in last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasdownloadedspecifiedfileinlastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>74</MacroRuleID>
      <MacroRuleName>CMSContactHasLoggedInInTheLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} logged in in the last {days} day(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="679ea042-ca59-453d-bc92-1709d60693e5" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="3b04aab0-b1a2-4c68-9236-fd5024aa36a0" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.487+08:00</MacroRuleLastModified>
      <MacroRuleGUID>1c250b40-34be-4994-927f-6c1fb74fa05b</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.LoggedIn(ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has logged in in the last X days.</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasloggedininthelastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>58</MacroRuleID>
      <MacroRuleName>CMSContactHasMadeAtLeastXOrders</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} made at least {num} order(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="num" fieldcaption="enter number" visible="true" columntype="integer" fieldtype="CustomUserControl" minnumericvalue="0" publicfield="false" guid="76a41bea-559c-4f44-99e3-3085094eaaf5" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="899a5e1d-2a4f-47e1-a3c4-ff491a0d6827" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.33+08:00</MacroRuleLastModified>
      <MacroRuleGUID>91b7d652-9db9-415b-94ef-9d7e5d93753d</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}(Contact.Orders.Count &gt;= ToInt({num}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has made at least X orders</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasmadeatleastxorders.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>66</MacroRuleID>
      <MacroRuleName>CMSContactHasOpenedSpecifiedNewsletterInTheLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} opened newsletter {item} in the last {days} day(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="dc43ffca-09a8-411a-9f83-7498fd83df8c" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="item" fieldcaption="select newsletter" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="bf90813c-4940-4d48-9e24-18b479a03198" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;1&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;newsletter.newsletter&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;NewsletterName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="77462dad-c133-4bfa-9909-656f5719a016" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.273+08:00</MacroRuleLastModified>
      <MacroRuleGUID>84be6fde-8146-4822-93d3-f987b8e1188f</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.OpenedNewsletter("{item}", ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has opened specified newsletter in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasopenedspecifiednewsletterinthelastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>151</MacroRuleID>
      <MacroRuleName>CMSContactHasOpenedSpecifiedNewsletterIssue</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} opened newsletter issue {issue}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="90f2aeee-9568-4374-bd27-9c2649eaff92" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="issue" fieldcaption="select newsletter issue" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$issueselector.noitemsselected$}" publicfield="false" guid="5ca61613-3702-4903-b60e-439608c8052e" visibility="none"&gt;&lt;settings&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;ObjectType&gt;newsletter.issue&lt;/ObjectType&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;ReturnColumnName&gt;IssueGUID&lt;/ReturnColumnName&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;SelectionMode&gt;0&lt;/SelectionMode&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;ResourcePrefix&gt;newsletterissueselect&lt;/ResourcePrefix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.83+08:00</MacroRuleLastModified>
      <MacroRuleGUID>f10bd718-a8ed-461f-95ac-a9554e7ee7e4</MacroRuleGUID>
      <MacroRuleCondition>Contact.OpenedNewsletterIssue("{issue}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has opened specified newsletter issue</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasopenedspecifiednewsletterissue.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>152</MacroRuleID>
      <MacroRuleName>CMSContactHasOpenedSpecifiedNewsletterIssueInTheLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} opened newsletter issue {issue} in the last {days} days</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="e2201429-10a1-4fff-84b0-241d05d52822" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="issue" fieldcaption="select newsletter issue" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$issueselector.noitemsselected$}" publicfield="false" guid="1d1c6d54-32c7-48ea-8975-acd70b083116" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;0&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;newsletter.issue&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;IssueGUID&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;newsletterissueselect&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="days" fieldcaption="enter text" visible="true" defaultvalue="0" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="e6327550-12a2-4d4e-a7c6-0e65edfcf383" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.893+08:00</MacroRuleLastModified>
      <MacroRuleGUID>a1ec3d51-4dc9-4300-88fc-6e03eff3f101</MacroRuleGUID>
      <MacroRuleCondition>Contact.OpenedNewsletterIssue("{issue}", ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has opened specified newsletter issue in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasopenedspecifiednewsletterissueinthelastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>155</MacroRuleID>
      <MacroRuleName>CMSContactHasOpenedTheLastNewsletterIssue</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} opened the last newsletter issue</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="3bd0eea9-d2e4-4fc2-bebd-7dfb50096927" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.417+08:00</MacroRuleLastModified>
      <MacroRuleGUID>ff3d6a61-293d-4ac0-aa52-688e2e214317</MacroRuleGUID>
      <MacroRuleCondition>Contact.OpenedNewsletterIssue(AutomationState.GetLastNewsletterIssue().IssueGUID)</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has opened the last newsletter issue</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasopenedthelastnewsletterissue.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>147</MacroRuleID>
      <MacroRuleName>CMSContactHasPassedThroughOneOfSpecifiedActions</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} passed through {_any} of the following actions: {actions}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="6987d093-d2ad-4709-b767-5196f6f5e902" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="7f4fd95c-2b13-40e5-a0b8-492ccb2a5ca9" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="actions" fieldcaption="select actions" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="e8039d63-08f5-4764-8526-d276b672945f" visibility="none"&gt;&lt;settings&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;ObjectType&gt;ma.automationaction&lt;/ObjectType&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;ReturnColumnName&gt;ActionName&lt;/ReturnColumnName&gt;&lt;WhereCondition&gt;ActionAllowedObjects LIKE '%;om.contact;%'&lt;/WhereCondition&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;ResourcePrefix&gt;actionselect&lt;/ResourcePrefix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.563+08:00</MacroRuleLastModified>
      <MacroRuleGUID>1699e77d-251f-472f-8058-f4432cf05fe5</MacroRuleGUID>
      <MacroRuleCondition>AutomationState.PassedThroughAutomationActions("{actions}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has passed through one of specified actions</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthaspassedthroughoneofspecifiedactions.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>148</MacroRuleID>
      <MacroRuleName>CMSContactHasPassedThroughOneOfSpecifiedSteps</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} passed through {_any} of the following steps: {steps}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="b004c82e-b1bf-4562-956b-e6fb983b5ae4" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="245f4ac5-d35a-4716-81eb-2ca1bb934b35" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="steps" fieldcaption="enter step names" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" fielddescription="Step code names separted with semicolon." publicfield="false" guid="9c42913a-f36d-4559-a329-b23ecb55205f" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.26+08:00</MacroRuleLastModified>
      <MacroRuleGUID>a88bf9fa-756b-4d3e-8e23-134ef09de08c</MacroRuleGUID>
      <MacroRuleCondition>AutomationState.PassedThroughAutomationSteps("{steps}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has passed through one of specified steps</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthaspassedthroughoneofspecifiedsteps.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>52</MacroRuleID>
      <MacroRuleName>CMSContactHasProductInWishlist</MacroRuleName>
      <MacroRuleText>Contact {_has} product {product} in wishlist</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="product" fieldcaption="select product" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$productselector.noitemsselected$}" publicfield="false" guid="00bb45f0-f988-4e4a-a4fa-11060c26cd6a" visibility="none"&gt;&lt;settings&gt;&lt;DisplayBundles&gt;True&lt;/DisplayBundles&gt;&lt;DisplayMemberships&gt;True&lt;/DisplayMemberships&gt;&lt;DisplayDonations&gt;True&lt;/DisplayDonations&gt;&lt;controlname&gt;skuselector&lt;/controlname&gt;&lt;DisplayEproducts&gt;True&lt;/DisplayEproducts&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;UseGUIDForSelection&gt;True&lt;/UseGUIDForSelection&gt;&lt;DisplayStandardProducts&gt;True&lt;/DisplayStandardProducts&gt;&lt;DisplayOnlyProductsWithoutOptions&gt;False&lt;/DisplayOnlyProductsWithoutOptions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_has" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="6593d940-47a7-4ff9-9b5b-09e31f97bfd3" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;does not have&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.86+08:00</MacroRuleLastModified>
      <MacroRuleGUID>856da497-dfa0-4f68-af9d-3ec72b25a86e</MacroRuleGUID>
      <MacroRuleCondition>{_has}Contact.Wishlist.Exists(SKUGUID == "{product}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has product in wishlist</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasproductinwishlist.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>57</MacroRuleID>
      <MacroRuleName>CMSContactHasPurchasedNumberOfProductsInTheLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} purchased at least {num} product(s) in the last {days} day(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="num" fieldcaption="enter number" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="34d5eb7c-f468-440f-990e-a724a1d75047" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="e0f2ab32-12ca-4b70-b4bf-7c474b69b6bd" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="fbe2a80d-b4bb-4c05-99c1-393906188e0c" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.303+08:00</MacroRuleLastModified>
      <MacroRuleGUID>037d4ff9-e441-4a3d-b541-f6be974a46d9</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.PurchasedNumberOfProducts(ToInt({num}), ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has purchased number of products in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthaspurchasednumberofproductsinthelastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>55</MacroRuleID>
      <MacroRuleName>CMSContactHasPurchasedSpecifiedProduct</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} purchased product {product}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="product" fieldcaption="select product" visible="true" columntype="guid" fieldtype="CustomUserControl" validationerrormessage="{$productselector.noitemsselected$}" publicfield="false" guid="96bdb10d-3713-4fc3-b924-26a9adf4dbc9" visibility="none"&gt;&lt;settings&gt;&lt;DisplayBundles&gt;True&lt;/DisplayBundles&gt;&lt;DisplayMemberships&gt;True&lt;/DisplayMemberships&gt;&lt;DisplayDonations&gt;True&lt;/DisplayDonations&gt;&lt;controlname&gt;skuselector&lt;/controlname&gt;&lt;DisplayEproducts&gt;True&lt;/DisplayEproducts&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;UseGUIDForSelection&gt;True&lt;/UseGUIDForSelection&gt;&lt;DisplayStandardProducts&gt;True&lt;/DisplayStandardProducts&gt;&lt;DisplayOnlyProductsWithoutOptions&gt;False&lt;/DisplayOnlyProductsWithoutOptions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="0827bc4b-fde3-4abf-931d-ec416dac7aae" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.387+08:00</MacroRuleLastModified>
      <MacroRuleGUID>4f43752e-e4bc-465d-89f0-59c45b432dab</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.PurchasedProduct("{product}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has purchased the specified product</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthaspurchasedspecifiedproduct.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>62</MacroRuleID>
      <MacroRuleName>CMSContactHasSearchedForSpecifiedKeywordsInLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} searched for {_any} of the following keywords in last {days} day(s): {keywords}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="8da824d8-4e8c-4026-ace5-a31fb2d7a910" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="keywords" fieldcaption="enter keywords" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" fielddescription="Enter keywords separated with semicolon." publicfield="false" guid="6e7f534a-7096-414e-874a-b75dc423a751" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="6f44adc6-e217-477c-b4cc-32641d789fe3" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="5d843237-1a0f-4892-94d4-a1359c380558" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.76+08:00</MacroRuleLastModified>
      <MacroRuleGUID>9dddb501-940f-46a2-9b7a-ead8ef7962bc</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.SearchedForKeywords("{keywords}", ToInt({days}), {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has searched for specified keywords in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthassearchedforspecifiedkeywordsinlastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>59</MacroRuleID>
      <MacroRuleName>CMSContactHasSpentMoneyInTheStoreInTheLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} spent between {money1} and {money2} in the store in the last {days} day(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="f762abfe-f5d4-4ddd-85f6-b9c4294edcdc" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="money1" fieldcaption="enter value" visible="true" columntype="double" fieldtype="CustomUserControl" publicfield="false" guid="30cbe1e1-6d12-4cda-95d9-a68f806461c1" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="money2" fieldcaption="enter value" visible="true" columntype="double" fieldtype="CustomUserControl" publicfield="false" guid="f5ba586f-9877-4be9-953a-160313d20a63" visibility="none"&gt;&lt;settings&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="1b5d4647-8c2a-42e2-b146-1742ab31ca71" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.907+08:00</MacroRuleLastModified>
      <MacroRuleGUID>d8d47dc7-9e40-4095-876b-227460f09e76</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.SpentMoney(ToDouble({money1}), ToDouble({money2}), ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has spent money in the store in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasspentmoneyinthestoreinthelastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>65</MacroRuleID>
      <MacroRuleName>CMSContactHasSubmittedSpecifiedFormInLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} submitted form {item} in last {days} day(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="25a58433-145a-43c1-bef2-2a675fcb3404" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="item" fieldcaption="select form" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="e6054198-58d1-426b-af25-693a904b8b21" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;1&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.form&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;FormName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;bizformselect&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="5b578465-de4e-4253-9c29-cf4018f4faaa" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.53+08:00</MacroRuleLastModified>
      <MacroRuleGUID>c4a4c554-831d-4974-902a-3b335d2767ba</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.SubmittedForm("{item}", ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has submitted specified form in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthassubmittedspecifiedforminlastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>63</MacroRuleID>
      <MacroRuleName>CMSContactHasVisitedSpecifiedPageInLastXDays</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} visited page {item} in the last {days} day(s)</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="b6262fab-ea1b-46dd-ab27-d96376ec87ba" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="item" fieldcaption="select page" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="bb412d03-d907-465f-bde2-d88e59cff6d4" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectsinglepath&lt;/controlname&gt;&lt;AllowSetPermissions&gt;False&lt;/AllowSetPermissions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="573bec91-8c00-4e8e-8c64-5febb8c03b5c" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.893+08:00</MacroRuleLastModified>
      <MacroRuleGUID>0bade63b-fe26-4d54-aa6b-7c6460fede20</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.VisitedPage("{item}", ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has visited a specified page in the last X days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasvisitedspecifiedpageinlastxdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>73</MacroRuleID>
      <MacroRuleName>CMSContactHasVotedInSpecifiedPoll</MacroRuleName>
      <MacroRuleText>Contact {_perfectum} voted {answer} in poll {item}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="item" fieldcaption="select poll" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="62f5d05e-9c86-4fce-a122-a8d2260793f6" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;1&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;polls.poll&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;PollCodeName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;pollsselect&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="answer" fieldcaption="enter answer" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="faf1aeb0-d43c-464d-8536-4f0e377111e4" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="13848cb2-eeea-43d7-94da-7fde3c8de649" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.217+08:00</MacroRuleLastModified>
      <MacroRuleGUID>1a3125f6-59e6-4093-af82-5df147c8f91a</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Contact.VotedInPoll("{item}", "{answer}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact has voted in the specified poll</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontacthasvotedinspecifiedpoll.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>44</MacroRuleID>
      <MacroRuleName>CMSContactIsFemale</MacroRuleName>
      <MacroRuleText>Contact {_is} female</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="f233c1c3-9316-4852-8a04-8453ca207c49" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.577+08:00</MacroRuleLastModified>
      <MacroRuleGUID>4c200d26-d118-4567-aa98-e4e1fed176a9</MacroRuleGUID>
      <MacroRuleCondition>{_is}(Contact.ContactGender == Gender.Female)</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is female</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactisfemale.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>47</MacroRuleID>
      <MacroRuleName>CMSContactIsFromCountry</MacroRuleName>
      <MacroRuleText>Contact {_is} from any of the following countries {countries}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="countries" fieldcaption="select countries" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="9fd556d3-8079-40c4-92a1-4f229fad1bd5" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.country&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;CountryName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;countryselector&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="b83410b0-a038-4448-ad7f-aaf89e49bcee" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.403+08:00</MacroRuleLastModified>
      <MacroRuleGUID>94aac7df-1dd6-496c-92fd-91aeba1b6e7d</MacroRuleGUID>
      <MacroRuleCondition>{_is}Contact.IsFromCountry("{countries}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is from country</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactisfromcountry.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>48</MacroRuleID>
      <MacroRuleName>CMSContactIsFromState</MacroRuleName>
      <MacroRuleText>Contact {_is} from any of the following states {states}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="9f818cfc-2df9-4ee0-811f-90c760803b27" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="states" fieldcaption="select states" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="ffe93888-2772-4343-9ada-ac9649628ffc" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.state&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;StateName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;stateselector&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="c04b73aa-8687-44b2-ad2b-a9e555ef50b9" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.43+08:00</MacroRuleLastModified>
      <MacroRuleGUID>da07fa9d-2ffd-4253-836e-6ffce3270041</MacroRuleGUID>
      <MacroRuleCondition>{_is}Contact.IsFromState("{states}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is from state</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactisfromstate.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>49</MacroRuleID>
      <MacroRuleName>CMSContactBelongsToAccount</MacroRuleName>
      <MacroRuleText>Contact {_is} in account {account}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="account" fieldcaption="select account" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="200" publicfield="false" guid="952d5d14-1ad2-4ae1-a69e-d9725dfdbae4" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;0&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;om.account&lt;/ObjectType&gt;&lt;ReturnColumnName&gt;AccountID&lt;/ReturnColumnName&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;OrderBy&gt;AccountName&lt;/OrderBy&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;om.account&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="7ddcbebc-f144-4614-b726-3a4af4385265" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.457+08:00</MacroRuleLastModified>
      <MacroRuleGUID>0a6597a1-c899-45a7-8d94-27ef8b67b620</MacroRuleGUID>
      <MacroRuleCondition>{_is}Contact.BelongsToAccount("{account}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is in account</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactbelongstoaccount.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>72</MacroRuleID>
      <MacroRuleName>CMSContactIsInCommunityGroup</MacroRuleName>
      <MacroRuleText>Contact {_is} in {_any} of the community groups: {groups}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="groups" fieldcaption="select community groups" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="59cb7aca-8334-48a8-a965-8fd8c35c7e2b" visibility="none"&gt;&lt;settings&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;ObjectType&gt;community.group&lt;/ObjectType&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;ReturnColumnName&gt;GroupName&lt;/ReturnColumnName&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;ResourcePrefix&gt;groups&lt;/ResourcePrefix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="1213e71b-ea77-4451-bae4-8f1df803c504" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="34943b29-db29-4221-8640-cb61d79f12c1" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.6+08:00</MacroRuleLastModified>
      <MacroRuleGUID>0689a747-2874-4c09-8ee1-32794e030ad5</MacroRuleGUID>
      <MacroRuleCondition>{_is}Contact.IsInCommunityGroup("{groups}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is in community group</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactisincommunitygroup.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>61</MacroRuleID>
      <MacroRuleName>CMSContactIsInContactGroup</MacroRuleName>
      <MacroRuleText>Contact {_is} in {_any} of the contact groups: {groups}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="groups" fieldcaption="select contact groups" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="40973ae7-ca34-4ea0-a17f-a15d99cfe604" visibility="none"&gt;&lt;settings&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;ObjectType&gt;om.contactgroup&lt;/ObjectType&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;ReturnColumnName&gt;ContactGroupName&lt;/ReturnColumnName&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;ResourcePrefix&gt;om.contactgroup&lt;/ResourcePrefix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="a48aa3a7-7d87-4fb8-9dca-149873787aa5" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="d3a40411-e1c1-4262-958f-19ff06a9c3be" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.513+08:00</MacroRuleLastModified>
      <MacroRuleGUID>e775b355-70ad-42fe-9a75-ecd912221157</MacroRuleGUID>
      <MacroRuleCondition>{_is}Contact.IsInContactGroup("{groups}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is in contact group</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactisincontactgroup.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>60</MacroRuleID>
      <MacroRuleName>CMSContactIsInRole</MacroRuleName>
      <MacroRuleText>Contact {_is} in {_any} of the roles: {roles}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="roles" fieldcaption="select roles" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="189820e1-428e-40fe-a130-13699d3b964d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;rolecheckboxselector&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="4295d60a-0f7f-4bea-a31a-e4e6a30fd11f" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="1be571bb-a2c9-4fd6-bda3-fcfb12659304" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.923+08:00</MacroRuleLastModified>
      <MacroRuleGUID>b0a36af7-5dc2-4b6c-bc27-2f20c97b6be9</MacroRuleGUID>
      <MacroRuleCondition>{_is}Contact.IsInRoles("{roles}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is in role</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactisinrole.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>43</MacroRuleID>
      <MacroRuleName>CMSContactIsMale</MacroRuleName>
      <MacroRuleText>Contact {_is} male</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="89b57d9c-650c-4062-83e3-393c38e5492a" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.553+08:00</MacroRuleLastModified>
      <MacroRuleGUID>ce39a78c-339c-4be8-b355-70bd42eec51a</MacroRuleGUID>
      <MacroRuleCondition>{_is}(Contact.ContactGender == Gender.Male)</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is male</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactismale.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>70</MacroRuleID>
      <MacroRuleName>CMSContactIsRegisteredAsAUser</MacroRuleName>
      <MacroRuleText>Contact {_is} registered as a user</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="cf9146b0-0a25-4520-ab33-b56b96ebbb2d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.997+08:00</MacroRuleLastModified>
      <MacroRuleGUID>625c2375-5644-49cb-ae6d-a82db4f60934</MacroRuleGUID>
      <MacroRuleCondition>{_is}(!Contact.ContactIsAnonymous)</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is registered as a user</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactisregisteredasauser.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>69</MacroRuleID>
      <MacroRuleName>CMSContactIsRegisteredForSpecifiedEvent</MacroRuleName>
      <MacroRuleText>Contact {_is} registered for event {item}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="item" fieldcaption="select event" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="51135ba5-fcb9-4598-9e90-3d2ae2785a04" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectsinglepath&lt;/controlname&gt;&lt;AllowSetPermissions&gt;False&lt;/AllowSetPermissions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="1134aaea-fbaa-468e-a840-1f0aa7d8c656" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.98+08:00</MacroRuleLastModified>
      <MacroRuleGUID>34505fd2-a8ff-4e8b-bed5-8b7577afee07</MacroRuleGUID>
      <MacroRuleCondition>{_is}Contact.RegisteredForEvent("{item}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is registered for specified event</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactisregisteredforspecifiedevent.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>68</MacroRuleID>
      <MacroRuleName>CMSContactIsSubscribedToSpecifiedNewsletter</MacroRuleName>
      <MacroRuleText>Contact {_is} subscribed to newsletter {item}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="enter days" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" allowempty="true" publicfield="false" guid="f83aa9a2-cd84-47dd-be97-5db233d06512" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="item" fieldcaption="select newsletter" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="7136618f-8647-489d-b9e5-fa36901950b5" visibility="none"&gt;&lt;settings&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;ObjectType&gt;newsletter.newsletter&lt;/ObjectType&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;ReturnColumnName&gt;NewsletterName&lt;/ReturnColumnName&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;SelectionMode&gt;1&lt;/SelectionMode&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;ResourcePrefix&gt;newsletterselect&lt;/ResourcePrefix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="8caafed2-2bbd-4aba-a5a9-54bad0c1d218" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.04+08:00</MacroRuleLastModified>
      <MacroRuleGUID>5246ecce-2ca4-408a-b183-38d2fed172b6</MacroRuleGUID>
      <MacroRuleCondition>{_is}Contact.SubscribedToNewsletter("{item}", ToInt({days}))</MacroRuleCondition>
      <MacroRuleDisplayName>Contact is subscribed to specified newsletter</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactissubscribedtospecifiednewsletter.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>50</MacroRuleID>
      <MacroRuleName>CMSContactStatusIs</MacroRuleName>
      <MacroRuleText>Contact status {_is} {status}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="status" fieldcaption="select status" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="0974aba4-d88b-42b0-b18f-69eb4fc8c70d" visibility="none"&gt;&lt;settings&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;ObjectType&gt;om.contactstatus&lt;/ObjectType&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;ReturnColumnName&gt;ContactStatusName&lt;/ReturnColumnName&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;SelectionMode&gt;1&lt;/SelectionMode&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;ResourcePrefix&gt;om.contactstatus&lt;/ResourcePrefix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="96c8dad5-2f3a-42ec-b0d6-60fc9c1ed6d0" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.347+08:00</MacroRuleLastModified>
      <MacroRuleGUID>5440e355-9ef0-4f56-b82b-6c5a6a06475f</MacroRuleGUID>
      <MacroRuleCondition>{_is}(Contact.ContactStatus == "{status}")</MacroRuleCondition>
      <MacroRuleDisplayName>Contact status is</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactstatusis.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>51</MacroRuleID>
      <MacroRuleName>CMSContactWasCreated</MacroRuleName>
      <MacroRuleText>Contact was created {op} {date}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue="&amp;gt;;after" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="50" publicfield="false" guid="0dcda503-da52-4618-a599-d765783d6d19" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_date_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;&amp;lt;;before
&amp;gt;;after
==;on&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="date" fieldcaption="select date" visible="true" columntype="datetime" fieldtype="CustomUserControl" publicfield="false" guid="abf33450-90b4-47b9-9f7e-91f68a3f8009" visibility="none"&gt;&lt;settings&gt;&lt;DisplayNow&gt;True&lt;/DisplayNow&gt;&lt;controlname&gt;calendarcontrol&lt;/controlname&gt;&lt;EditTime&gt;False&lt;/EditTime&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.onlinemarketing</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.83+08:00</MacroRuleLastModified>
      <MacroRuleGUID>9929ac22-f9a3-4e62-b99d-96973ef24fa9</MacroRuleGUID>
      <MacroRuleCondition>Contact.ContactCreated.Date {op} ToDateTime("{date}").Date</MacroRuleCondition>
      <MacroRuleDisplayName>Contact was created on a specific date</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscontactwascreated.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>89</MacroRuleID>
      <MacroRuleName>CMSCurrentDatetimeIsInRange</MacroRuleName>
      <MacroRuleText>Current date/time {_is} between {date1} and {date2}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="date1" fieldcaption="select date" visible="true" columntype="datetime" fieldtype="CustomUserControl" publicfield="false" guid="dd28274f-27dc-4a59-a91c-c27c765f3ec8" visibility="none"&gt;&lt;settings&gt;&lt;DisplayNow&gt;True&lt;/DisplayNow&gt;&lt;controlname&gt;calendarcontrol&lt;/controlname&gt;&lt;EditTime&gt;True&lt;/EditTime&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="date2" fieldcaption="select date" visible="true" columntype="datetime" fieldtype="CustomUserControl" publicfield="false" guid="49d6c85e-126c-4db1-980d-febb664e71cd" visibility="none"&gt;&lt;settings&gt;&lt;DisplayNow&gt;True&lt;/DisplayNow&gt;&lt;controlname&gt;calendarcontrol&lt;/controlname&gt;&lt;EditTime&gt;True&lt;/EditTime&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="e6dec9cf-345d-494c-84a9-474f96b6830d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.147+08:00</MacroRuleLastModified>
      <MacroRuleGUID>3375a24f-94d4-444f-86ef-3199521fbda2</MacroRuleGUID>
      <MacroRuleCondition>{_is}CurrentDateTime.Between(ToSystemDateTime("{date1}"), ToSystemDateTime("{date2}"))</MacroRuleCondition>
      <MacroRuleDisplayName>Current date/time is in range</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentdatetimeisinrange.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>91</MacroRuleID>
      <MacroRuleName>CMSCurrentDayOfTheWeekIsOneOfSpecifiedDays</MacroRuleName>
      <MacroRuleText>Current day of the week {_is} one of the following: {days}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="days" fieldcaption="select days" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="6d78332d-5ba4-4b55-936a-d509563e7d63" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;multiplechoicecontrol&lt;/controlname&gt;&lt;RepeatDirection&gt;vertical&lt;/RepeatDirection&gt;&lt;Options&gt;0;Sunday
1;Monday
2;Tuesday
3;Wednesday
4;Thursday
5;Friday
6;Saturday&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="b2eb82d3-4694-4745-9cdc-23f011d9b014" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.6+08:00</MacroRuleLastModified>
      <MacroRuleGUID>8dd2be4a-64b0-46d0-ba65-9f9600ad1849</MacroRuleGUID>
      <MacroRuleCondition>{_is}CurrentDateTime.DayOfWeek.EqualsAny("{days}".Split("|"))</MacroRuleCondition>
      <MacroRuleDisplayName>Current day of the week is one of the specified days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentdayoftheweekisoneofspecifieddays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>90</MacroRuleID>
      <MacroRuleName>CMSCurrentDayTimeIsInRange</MacroRuleName>
      <MacroRuleText>Current day time {_is} between {time1} and {time2}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="time1" fieldcaption="enter time" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="1e9637b3-353e-4221-bca4-c32d2beeecb1" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="time2" fieldcaption="enter time" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="e9fa6979-2879-4fad-9d47-ec9ce609e49d" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="fc627809-7588-4de7-9798-d34a3eb6d851" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.18+08:00</MacroRuleLastModified>
      <MacroRuleGUID>9e0fbd4f-ea4f-42c0-a137-d2b9cec97f75</MacroRuleGUID>
      <MacroRuleCondition>{_is}CurrentDateTime.TimeOfDay.Between(ToTimeSpan("{time1}"), ToTimeSpan("{time2}"))</MacroRuleCondition>
      <MacroRuleDisplayName>Current day time is in range</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentdaytimeisinrange.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>106</MacroRuleID>
      <MacroRuleName>CMSCurrentDeviceIsMobile</MacroRuleName>
      <MacroRuleText>Current device is mobile</MacroRuleText>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.003+08:00</MacroRuleLastModified>
      <MacroRuleGUID>5636fa81-790d-46b8-a018-34a5f12bc990</MacroRuleGUID>
      <MacroRuleCondition>CurrentDevice.IsMobile</MacroRuleCondition>
      <MacroRuleDisplayName>Current device is mobile</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentdeviceismobile.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>107</MacroRuleID>
      <MacroRuleName>CMSCurrentDeviceIsOneOfSpecified</MacroRuleName>
      <MacroRuleText>Current device is one of the following: {devices}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="devices" fieldcaption="select devices" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="4a8602f9-1588-4073-99e0-b47994f70f4d" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;CMS.Device&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;True&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;DeviceName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;deviceinfoselect&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.85+08:00</MacroRuleLastModified>
      <MacroRuleGUID>c3686342-766f-427d-8d25-ae9044d4c51c</MacroRuleGUID>
      <MacroRuleCondition>CurrentDevice.DeviceName.EqualsAny("{devices}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Current device is one of specified</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentdeviceisoneofspecified.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>105</MacroRuleID>
      <MacroRuleName>CMSCurrentDeviceMaxScreenSizeIsInRange</MacroRuleName>
      <MacroRuleText>Current device max screen size is between {min} and {max} pixels</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="min" fieldcaption="enter size in pixels" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="f3c7d744-8ff3-4721-a6cd-067ce4cc2676" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="max" fieldcaption="enter size in pixels" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="21063e78-f61e-4f02-a0f5-545ad2037742" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.943+08:00</MacroRuleLastModified>
      <MacroRuleGUID>0fce106e-64f9-42f7-a7bd-bcc25db8d872</MacroRuleGUID>
      <MacroRuleCondition>CurrentDevice.MaxScreenSize.Between(ToInt({min}),ToInt({max}))</MacroRuleCondition>
      <MacroRuleDisplayName>Current device max screen size is in range</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentdevicemaxscreensizeisinrange.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>103</MacroRuleID>
      <MacroRuleName>CMSCurrentDeviceProfileIsOneOfSpecifiedProfiles</MacroRuleName>
      <MacroRuleText>Current device profile is one of the following: {profiles}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="profiles" fieldcaption="select profiles" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="bd0f199b-95c0-465a-b88a-7d2f36544efd" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;CMS.DeviceProfile&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;ProfileName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;deviceprofileselect&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.807+08:00</MacroRuleLastModified>
      <MacroRuleGUID>6bcf4a41-3bd6-436e-89cc-1808a43ee436</MacroRuleGUID>
      <MacroRuleCondition>CurrentDeviceProfile.CodeName.EqualsAny("{profiles}")</MacroRuleCondition>
      <MacroRuleDisplayName>Current device profile is one of specified profiles</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentdeviceprofileisoneofspecifiedprofiles.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>104</MacroRuleID>
      <MacroRuleName>CMSCurrentDeviceProfileIsTheDefaultProfile</MacroRuleName>
      <MacroRuleText>Current device profile is the default profile</MacroRuleText>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.827+08:00</MacroRuleLastModified>
      <MacroRuleGUID>5c848071-6e5a-4291-a397-f8f669ca297a</MacroRuleGUID>
      <MacroRuleCondition>CurrentDeviceProfileName == ""</MacroRuleCondition>
      <MacroRuleDisplayName>Current device profile is the default profile</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentdeviceprofileisthedefaultprofile.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>83</MacroRuleID>
      <MacroRuleName>CMSCurrentDistanceToSpecifiedCoordinatesIsInRange</MacroRuleName>
      <MacroRuleText>Current distance to latitude {lat} and longitude {lon} {_is} between {lower} and {upper}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="lat" fieldcaption="enter latitude" visible="true" columntype="double" fieldtype="CustomUserControl" publicfield="false" guid="f535fb1c-f119-4ff7-b35d-1747cafe4752" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="lon" fieldcaption="enter longitude" visible="true" columntype="double" fieldtype="CustomUserControl" publicfield="false" guid="205f385b-a626-43cc-b3e8-fd1ed9e1bcb4" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="lower" fieldcaption="enter lower bound" visible="true" columntype="integer" fieldtype="CustomUserControl" fielddescription="Lower bound of the distance in kilometers." publicfield="false" guid="e46fcf28-6670-4d88-9408-3fe936419c6b" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="upper" fieldcaption="enter upper bound" visible="true" columntype="integer" fieldtype="CustomUserControl" fielddescription="Upper bound of the distance in kilometers." publicfield="false" guid="111ebebb-82ec-4419-89a1-06abf9c8f81d" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="7c4d77d6-0264-4cda-bb10-ebdfda7e9c76" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.04+08:00</MacroRuleLastModified>
      <MacroRuleGUID>e48f61b3-778a-4e6e-b847-7ec83139757a</MacroRuleGUID>
      <MacroRuleCondition>{_is}GetCurrentDistance({lat}, {lon}).Between(ToDouble({lower}), ToDouble({upper}))</MacroRuleCondition>
      <MacroRuleDisplayName>Current distance to specified coordinates is in range</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentdistancetospecifiedcoordinatesisinrange.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>93</MacroRuleID>
      <MacroRuleName>CMSCurrentMonthIs</MacroRuleName>
      <MacroRuleText>Current month {_is} one of the following: {months}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="months" fieldcaption="select months" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="f230ee29-dcf4-4f07-b3b6-b55b7c6af32d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;multiplechoicecontrol&lt;/controlname&gt;&lt;RepeatDirection&gt;vertical&lt;/RepeatDirection&gt;&lt;Options&gt;1;January
2;February
3;March
4;April
5;May
6;June
7;July
8;August
9;September
10;October
11;November
12;December&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="4d67c95a-e3ae-4a22-9b99-72880fe4b183" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.627+08:00</MacroRuleLastModified>
      <MacroRuleGUID>7397e29b-5c5b-49f2-9cf8-c7e93c4d67b8</MacroRuleGUID>
      <MacroRuleCondition>{_is}CurrentDateTime.Month.EqualsAny("{months}".Split("|"))</MacroRuleCondition>
      <MacroRuleDisplayName>Current month is</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentmonthis.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>96</MacroRuleID>
      <MacroRuleName>CMSCurrentPageCultureIs</MacroRuleName>
      <MacroRuleText>Current page culture {_is} {culture}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="culture" fieldcaption="select culture" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="49114ac4-626f-4e68-b9c8-aeae22024175" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectculture&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="b88ada9c-b52a-4b8e-9850-885be0c2edf9" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.637+08:00</MacroRuleLastModified>
      <MacroRuleGUID>cb81d8e8-7529-4e3a-a28e-03fdb8e3fd50</MacroRuleGUID>
      <MacroRuleCondition>{_is}(CurrentDocument.DocumentCulture == "{culture}")</MacroRuleCondition>
      <MacroRuleDisplayName>Current page culture is</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentpagecultureis.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>94</MacroRuleID>
      <MacroRuleName>CMSCurrentPageIs</MacroRuleName>
      <MacroRuleText>Current page {_is} '{page}'</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="page" fieldcaption="select page" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="a53704fb-a1f9-489e-9132-e5198e55ec07" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectsinglepath&lt;/controlname&gt;&lt;AllowSetPermissions&gt;False&lt;/AllowSetPermissions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="6ac15659-bd22-41ae-9f36-777b207ea045" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.73+08:00</MacroRuleLastModified>
      <MacroRuleGUID>c7091d55-be6d-4d7f-95bc-b2ca35a84f55</MacroRuleGUID>
      <MacroRuleCondition>{_is}(CurrentDocument.NodeAliasPath == "{page}")</MacroRuleCondition>
      <MacroRuleDisplayName>Current page is</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentpageis.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>95</MacroRuleID>
      <MacroRuleName>CMSCurrentPageIsInSection</MacroRuleName>
      <MacroRuleText>Current page {_is} in section {page}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="page" fieldcaption="select page" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="b03818cd-6dff-4a06-a924-23cdad02e0ba" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectsinglepath&lt;/controlname&gt;&lt;AllowSetPermissions&gt;False&lt;/AllowSetPermissions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="36cbb145-c30a-4dad-9f60-edbe2a17cad5" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.6+08:00</MacroRuleLastModified>
      <MacroRuleGUID>5086bd35-931e-4ae0-a605-3ac2837a9500</MacroRuleGUID>
      <MacroRuleCondition>{_is}CurrentDocument.NodeAliasPath.StartsWith("{page}")</MacroRuleCondition>
      <MacroRuleDisplayName>Current page is in section</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentpageisinsection.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>99</MacroRuleID>
      <MacroRuleName>CMSCurrentUserBelongsToAMembership</MacroRuleName>
      <MacroRuleText>Current user {op} membership</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue=";belongs to some" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="c7b6b6b4-962b-4636-b526-29d2114eda3d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;dropdownlistcontrol&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;;belongs to some
!;does not belong to any&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.573+08:00</MacroRuleLastModified>
      <MacroRuleGUID>6678ed8a-fbfb-43af-982a-7c80d54a5531</MacroRuleGUID>
      <MacroRuleCondition>{op}CurrentUser.HasAnyMembership()</MacroRuleCondition>
      <MacroRuleDisplayName>Current user belongs to a membership</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentuserbelongstoamembership.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>98</MacroRuleID>
      <MacroRuleName>CMSCurrentUserBelongsToSpecifiedMembership</MacroRuleName>
      <MacroRuleText>Current user {_is} in {_any} of the following memberships: {memberships}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="memberships" fieldcaption="select memberships" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="384f7938-9ba4-4044-a00b-7e430ef724d3" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.membership&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;MembershipName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;FilterControl&gt;~/CMSFormControls/Filters/ObjectFilter.ascx&lt;/FilterControl&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;membershipselector&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="be266b28-4f65-4875-9e87-ddf52eabf44c" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="a9100926-6ee9-436f-ab84-4f8dbb73d90a" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.06+08:00</MacroRuleLastModified>
      <MacroRuleGUID>bce49790-f642-4039-8748-e55b2b95964d</MacroRuleGUID>
      <MacroRuleCondition>{_is}CurrentUser.HasMembership("{memberships}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Current user belongs to specified membership</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentuserbelongstospecifiedmembership.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>102</MacroRuleID>
      <MacroRuleName>CMSCurrentUserIsEditor</MacroRuleName>
      <MacroRuleText>Current user {_is} editor</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="0c3c9b43-95a8-4165-ac56-9a1ef1e3b428" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.78+08:00</MacroRuleLastModified>
      <MacroRuleGUID>8cf69c6a-b7f0-4ccd-b2ef-7b128c8badbf</MacroRuleGUID>
      <MacroRuleCondition>{_is}CurrentUser.UserIsEditor</MacroRuleCondition>
      <MacroRuleDisplayName>Current user is editor</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentuseriseditor.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>101</MacroRuleID>
      <MacroRuleName>CMSCurrentUserIsGlobalAdministrator</MacroRuleName>
      <MacroRuleText>Current user {_is} global administrator</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="ac8e8963-4263-4109-a679-e54588f2562a" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.763+08:00</MacroRuleLastModified>
      <MacroRuleGUID>c8f791c8-e4ff-449d-8861-87666a72b5ce</MacroRuleGUID>
      <MacroRuleCondition>{_is}CurrentUser.UserIsGlobalAdministrator</MacroRuleCondition>
      <MacroRuleDisplayName>Current user is global administrator</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentuserisglobaladministrator.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>100</MacroRuleID>
      <MacroRuleName>CMSCurrentUserIsInRole</MacroRuleName>
      <MacroRuleText>Current user {_is} in {_any} of the following roles: {roles}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="roles" fieldcaption="select roles" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="bbba38a8-03cb-43da-8b5c-0412235a47b0" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;rolecheckboxselector&lt;/controlname&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="55b49bec-f47c-4ee6-a051-c3604beaef57" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="95b5391a-fb5f-41b9-9a23-7e8bdbc6131c" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="6fb7a155-2dc9-4d72-9886-48e594626689" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.74+08:00</MacroRuleLastModified>
      <MacroRuleGUID>6df797d9-c66d-43c9-9623-405670dfb5fa</MacroRuleGUID>
      <MacroRuleCondition>{_is}CurrentUser.IsInRole("{roles}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Current user is in role</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentuserisinrole.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>97</MacroRuleID>
      <MacroRuleName>CMSCurrentUserIsLoggedIn</MacroRuleName>
      <MacroRuleText>Current user {_is} logged in</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="492b73af-32f3-4c22-b528-b43a23409cd5" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.663+08:00</MacroRuleLastModified>
      <MacroRuleGUID>c6bc81f7-dd28-41c5-b918-087532b1d14f</MacroRuleGUID>
      <MacroRuleCondition>{_is}(CurrentUser.UserName != "public")</MacroRuleCondition>
      <MacroRuleDisplayName>Current user is logged in</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentuserisloggedin.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>87</MacroRuleID>
      <MacroRuleName>CMSCurrentCityIsOneOfSpecifiedCities</MacroRuleName>
      <MacroRuleText>Current visitor's city {_is} one of the specified cities: {cities}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="cities" fieldcaption="enter cities" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" fielddescription="Enter a list of cities separated by semicolons." publicfield="false" guid="063fa982-1fe9-45ed-a13a-26c3fa9a516e" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="2ea4719d-457f-4a79-be40-5aee8ba1ca40" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.503+08:00</MacroRuleLastModified>
      <MacroRuleGUID>1720959e-3c49-4db6-a959-0b14e007a19f</MacroRuleGUID>
      <MacroRuleCondition>{_is}AnalyticsContext.CurrentGeoLocation.City.EqualsAny("{cities}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Current visitor's city is one of the specified cities</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentcityisoneofspecifiedcities.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>85</MacroRuleID>
      <MacroRuleName>CMSCurrentCountryIsOneOfSpecifiedCountries</MacroRuleName>
      <MacroRuleText>Current visitor's country {_is} one of  the following countries: {countries}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="countries" fieldcaption="select countries" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="59307739-8a91-4b8d-90b7-9ed16f9b67d2" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.country&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;CountryName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;countryselector&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="64c25b1f-e395-4108-8dfd-f1e0ddf91223" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.063+08:00</MacroRuleLastModified>
      <MacroRuleGUID>f168d13e-6763-423c-93fd-0580ebc1cf51</MacroRuleGUID>
      <MacroRuleCondition>{_is}AnalyticsContext.CurrentGeoLocation.Country.CountryName.EqualsAny("{countries}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Current visitor's country is one of the specified countries</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentcountryisoneofspecifiedcountries.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>86</MacroRuleID>
      <MacroRuleName>CMSCurrentStateIsOneOfSpecifiedStates</MacroRuleName>
      <MacroRuleText>Current visitor's state {_is} one of the following states: {states}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="states" fieldcaption="select states" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="32d75c14-5a98-4bc3-9af9-7c190131675b" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.state&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;StateCode&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="900288ce-10c9-41b4-a8d1-9a924bae8a95" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.083+08:00</MacroRuleLastModified>
      <MacroRuleGUID>28206c2a-c71b-41f6-b8ee-c6b7e83b6ed2</MacroRuleGUID>
      <MacroRuleCondition>{_is}AnalyticsContext.CurrentGeoLocation.RegionCode.EqualsAny("{states}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Current visitor's state is one of the specified states</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentstateisoneofspecifiedstates.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>88</MacroRuleID>
      <MacroRuleName>CMSCurrentZIPCodeIsOneOfSpecifiedCodes</MacroRuleName>
      <MacroRuleText>Current visitor's ZIP code {_is} one of the following: {codes}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="codes" fieldcaption="enter ZIP codes" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" fielddescription="List of ZIP codes separated with semicolon." publicfield="false" guid="9c434230-7f75-4ede-8d33-35bac10e5119" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="5585d851-afa6-4b2b-9221-be7a018e69eb" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.547+08:00</MacroRuleLastModified>
      <MacroRuleGUID>c43f7aba-a8f5-463d-9a4a-7e4cba2ed685</MacroRuleGUID>
      <MacroRuleCondition>{_is}AnalyticsContext.CurrentGeoLocation.PostalCode.EqualsAny("{codes}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Current visitor's ZIP code is one of specified codes</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmscurrentzipcodeisoneofspecifiedcodes.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>126</MacroRuleID>
      <MacroRuleName>CMSDocumentBelongsToSpecifiedCommunityGroup</MacroRuleName>
      <MacroRuleText>Document {_is} in {group} community group</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="0081e1de-d407-4210-8d93-4e737f3bc45a" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="group" fieldcaption="select group" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="b8008c08-3844-48df-8823-bcb102ab8e49" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;0&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;Community.Group&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;GroupName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;groups&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.13+08:00</MacroRuleLastModified>
      <MacroRuleGUID>c8737e14-8f9d-4cb7-a5bb-62d14b1616e9</MacroRuleGUID>
      <MacroRuleCondition>{_is}(Document.NodeGroup.CodeName == "{group}")</MacroRuleCondition>
      <MacroRuleDisplayName>Document belongs to specified community group</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumentbelongstospecifiedcommunitygroup.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>117</MacroRuleID>
      <MacroRuleName>CMSDocumentHasBeenCreatedByOneOfSpecifiedUsers</MacroRuleName>
      <MacroRuleText>Document {_perfectum} been created by one of the following users: {users}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="4cecd023-5ae4-41f4-88b5-a12e1633a5ef" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="users" fieldcaption="select users" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="534d90fa-c08a-4ce8-be69-ebeeb46471d8" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;multipleuserselector&lt;/controlname&gt;&lt;ShowSiteFilter&gt;True&lt;/ShowSiteFilter&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.937+08:00</MacroRuleLastModified>
      <MacroRuleGUID>18af3918-971d-484c-b48e-30b340bde58e</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Document.DocumentCreatedByUser.UserName.InList("{users}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Document has been created by one of specified users</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthasbeencreatedbyoneofspecifiedusers.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>111</MacroRuleID>
      <MacroRuleName>CMSDocumentHasBeenCreatedXOrMoreDaysAgo</MacroRuleName>
      <MacroRuleText>Document {_perfectum} been created {days} or more days ago</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="da9b8f58-16e0-4517-b024-b9fd05aa5d6d" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="days" fieldcaption="enter days" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="e80a6cdf-342b-4492-a967-66be5041e847" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;FilterType&gt;0&lt;/FilterType&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.337+08:00</MacroRuleLastModified>
      <MacroRuleGUID>79045629-9d19-48ea-b486-412f2a991ec4</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}(Document.DocumentCreatedWhen &lt;= CurrentDateTime.AddDays(-ToDouble({days})))</MacroRuleCondition>
      <MacroRuleDisplayName>Document has been created X or more days ago</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthasbeencreatedxormoredaysago.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>119</MacroRuleID>
      <MacroRuleName>CMSDocumentHasBeenLastModifiedByOneOfSpecifiedUsers</MacroRuleName>
      <MacroRuleText>Document {_perfectum} been last modified by one of the following users: {users}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="f36ab4ec-e50e-4e63-bddf-24cb11f9a620" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="users" fieldcaption="select users" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="da9c1281-b693-4acc-8171-8dfc902260d1" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;multipleuserselector&lt;/controlname&gt;&lt;ShowSiteFilter&gt;True&lt;/ShowSiteFilter&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.4+08:00</MacroRuleLastModified>
      <MacroRuleGUID>9177505b-ebe6-4ad5-a0e7-b934329a14e5</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Document.DocumentModifiedByUser.UserName.InList("{users}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Document has been last modified by one of specified users</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthasbeenlastmodifiedbyoneofspecifiedusers.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>110</MacroRuleID>
      <MacroRuleName>CMSDocumentHasBeenLastModifiedXDaysAgo</MacroRuleName>
      <MacroRuleText>Document {_perfectum} been last modified {days} or more days ago</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="1c1ab20a-6cfe-49e6-8634-a92904a68b36" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="days" fieldcaption="enter days" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="24148c2a-29a3-4be7-92f6-991653a77d00" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;FilterType&gt;0&lt;/FilterType&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.277+08:00</MacroRuleLastModified>
      <MacroRuleGUID>0e83c116-31b8-4f6f-8125-0388aec61b9c</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}(Document.DocumentModifiedWhen &lt;= CurrentDateTime.AddDays(-ToDouble({days})))</MacroRuleCondition>
      <MacroRuleDisplayName>Document has been last modified X days ago</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthasbeenlastmodifiedxdaysago.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>112</MacroRuleID>
      <MacroRuleName>CMSDocumentHasChildDocuments</MacroRuleName>
      <MacroRuleText>Document {_has} child documents</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_has" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="5034da2d-baf2-436e-adfb-95496af86ca4" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;does not have&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.413+08:00</MacroRuleLastModified>
      <MacroRuleGUID>3f116a3b-b563-4830-b4d4-3b48b81b416e</MacroRuleGUID>
      <MacroRuleCondition>{_has}(Document.Children.Count &gt; 0)</MacroRuleCondition>
      <MacroRuleDisplayName>Document has child documents</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthaschilddocuments.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>129</MacroRuleID>
      <MacroRuleName>CMSDocumentHasPassedThroughOneOfSpecifiedActions</MacroRuleName>
      <MacroRuleText>Document {_perfectum} passed through {_any} of the following actions: {actions}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="d613194f-1574-4614-8275-24e480464409" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="d03d762f-6be8-416c-9751-25863d6935b6" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="actions" fieldcaption="select actions" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="f9069a82-3029-4c63-89a9-bf1127379847" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.workflowaction&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;ActionName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;actionselect&lt;/ResourcePrefix&gt;&lt;WhereCondition&gt;ActionAllowedObjects IS Null OR ActionAllowedObjects LIKE '%##DOCUMENTS##%'&lt;/WhereCondition&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.66+08:00</MacroRuleLastModified>
      <MacroRuleGUID>6df411e5-127f-4762-ba9d-8e2a7e1d2eab</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Document.PassedThroughActions("{actions}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Document has passed through one of specified actions</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthaspassedthroughoneofspecifiedactions.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>128</MacroRuleID>
      <MacroRuleName>CMSDocumentHasPassedThroughOneOfSpecifiedSteps</MacroRuleName>
      <MacroRuleText>Document {_perfectum} passed through {_any} of the following steps: {steps}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="9f6ba130-a2c7-4057-a482-90e00f2c811e" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="d078a9c5-0b1e-48b3-a8ea-73a62c421190" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="steps" fieldcaption="enter step names" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" fielddescription="Step code names separted with semicolon." publicfield="false" guid="2a7f3455-a4d9-42ed-8abc-2d8b8e24adf7" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.64+08:00</MacroRuleLastModified>
      <MacroRuleGUID>fcdba26f-c593-4adc-84d5-d682a678d63c</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Document.PassedThroughSteps("{steps}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Document has passed through one of specified steps</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthaspassedthroughoneofspecifiedsteps.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>122</MacroRuleID>
      <MacroRuleName>CMSDocumentHasRelationshipWithSpecifiedDocument</MacroRuleName>
      <MacroRuleText>Document {_has} {side} relationship {relationship} with document {document} on {site}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_has" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="36fa61fa-98eb-47c0-9f49-126d05b20ae9" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;does not have&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="side" fieldcaption="select side" visible="true" defaultvalue="left;left" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="10" publicfield="false" guid="7b6f404f-a6b1-4890-a590-0213103b1f7e" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;dropdownlistcontrol&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;left;left
right;right&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="relationship" fieldcaption="select relationship name" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="60e9e259-b607-4bcc-b70e-e3a25904202a" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;1&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.relationshipname&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;RelationshipName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="document" fieldcaption="select document" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="200" publicfield="false" guid="79f58bd9-c6d8-4aca-afba-efdfa90f7c24" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;selectsinglepath&lt;/controlname&gt;&lt;AllowSetPermissions&gt;False&lt;/AllowSetPermissions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="site" fieldcaption="site" visible="true" defaultvalue=";current site" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="31deb3bd-bd29-4bce-93de-eb2fd1ccc90c" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;0&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.site&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;SiteName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;siteselect&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.107+08:00</MacroRuleLastModified>
      <MacroRuleGUID>9d0af5a2-7287-4ae9-9912-f151d11680b2</MacroRuleGUID>
      <MacroRuleCondition>{_has}Document.IsInRelationship("{side}", "{relationship}", "{document}", "{site}")</MacroRuleCondition>
      <MacroRuleDisplayName>Document has relationship with specified document</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthasrelationshipwithspecifieddocument.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>120</MacroRuleID>
      <MacroRuleName>CMSDocumentHasSpecifiedCulture</MacroRuleName>
      <MacroRuleText>Document culture {_is} one of the following: {cultures}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="65ef67f8-70e2-4cbe-9687-8dcbe1be4e44" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="cultures" fieldcaption="select cultures" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="06774ea3-4e90-452e-ac57-f36f1adac6c4" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.culture&lt;/ObjectType&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;CultureCode&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:54.427+08:00</MacroRuleLastModified>
      <MacroRuleGUID>63a0f763-f7df-4ed9-885c-aeea419967b0</MacroRuleGUID>
      <MacroRuleCondition>{_is}Document.DocumentCulture.InList("{cultures}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Document has specified culture</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthasspecifiedculture.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>124</MacroRuleID>
      <MacroRuleName>CMSDocumentHasSpecifiedTags</MacroRuleName>
      <MacroRuleText>Document {_has} {_any} of the following tags: {tags}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="tags" fieldcaption="select tags" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="51d34cf7-6d72-404a-9afa-80eb1b2f6b1c" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.tag&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;TagName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;tags.tagselector&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_has" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="ec9ee760-f481-4473-bd59-436fe798593e" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;does not have&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="7526ff69-e98d-47be-925f-5cd0ad6f1691" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.693+08:00</MacroRuleLastModified>
      <MacroRuleGUID>fe45e6c3-3ec8-4e37-9072-32652cb6b3ad</MacroRuleGUID>
      <MacroRuleCondition>{_has}Document.HasTags("{tags}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Document has specified tags</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenthasspecifiedtags.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>123</MacroRuleID>
      <MacroRuleName>CMSDocumentIsInOneOfSpecifiedCategories</MacroRuleName>
      <MacroRuleText>Document {_is} in {_any} of the following categories: {categories}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="0673cb63-25e8-416c-9c10-84783966c39f" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="categories" fieldcaption="select categories" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="26e728a5-1e3f-4b3f-842d-2015c923d1cd" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.category&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;CategoryName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;categoryselector&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_any" fieldcaption="select operation" visible="true" defaultvalue="false;any" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="99176b0f-bb75-4ab6-8322-7a7e251f52bd" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_any-all_bool_selector&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;false;any
true;all&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.837+08:00</MacroRuleLastModified>
      <MacroRuleGUID>aa9b9a66-0b8e-4ebc-9b15-fc152df19513</MacroRuleGUID>
      <MacroRuleCondition>{_is}Document.IsInCategories("{categories}", {_any})</MacroRuleCondition>
      <MacroRuleDisplayName>Document is in one of specified categories</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumentisinoneofspecifiedcategories.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>115</MacroRuleID>
      <MacroRuleName>CMSDocumentIsPublishedInOneOfSpecifiedCultures</MacroRuleName>
      <MacroRuleText>Document {_is} published in one of the following cultures: {cultures}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="d9c95679-7c63-4e6e-a737-b7e1ca3afa76" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="cultures" fieldcaption="select cultures" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="e84a782f-c0d4-48d1-9f24-d55a4552fad2" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.culture&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;CultureCode&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.757+08:00</MacroRuleLastModified>
      <MacroRuleGUID>068ea7a5-9302-4a33-a9bc-cf762740b111</MacroRuleGUID>
      <MacroRuleCondition>{_is}Document.IsTranslatedTo("{cultures}", true)</MacroRuleCondition>
      <MacroRuleDisplayName>Document is published in one of specified cultures</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumentispublishedinoneofspecifiedcultures.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>113</MacroRuleID>
      <MacroRuleName>CMSDocumentIsTranslatedToOneOfTheSpecifiedCultures</MacroRuleName>
      <MacroRuleText>Document {_is} translated to one of the following cultures: {cultures}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="37bd7c0e-4288-4859-aa9b-eb3ce5cddca8" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="cultures" fieldcaption="select cultures" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="e5f5d6bc-8e12-4c1d-a912-2d8637a70975" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.culture&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;CultureCode&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.247+08:00</MacroRuleLastModified>
      <MacroRuleGUID>c4939ed5-2a4d-41b1-8aaf-f9dfeb9c53f5</MacroRuleGUID>
      <MacroRuleCondition>{_is}Document.IsTranslatedTo("{cultures}")</MacroRuleCondition>
      <MacroRuleDisplayName>Document is translated to one of the specified cultures</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumentistranslatedtooneofthespecifiedcultures.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>116</MacroRuleID>
      <MacroRuleName>CMSDocumentOwnerIsOneOfSpecifiedUsers</MacroRuleName>
      <MacroRuleText>Document owner {_is} one of following users: {users}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="25a06054-b341-4bea-8ebd-47590cb7f164" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="users" fieldcaption="select users" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="c2a1a236-1fdf-4fa5-9796-48e4700583c3" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;multipleuserselector&lt;/controlname&gt;&lt;ShowSiteFilter&gt;True&lt;/ShowSiteFilter&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.787+08:00</MacroRuleLastModified>
      <MacroRuleGUID>268750dd-3c50-4cf7-baa4-36adcf689392</MacroRuleGUID>
      <MacroRuleCondition>{_is}Document.Owner.UserName.InList("{users}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Document owner is one of specified users</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumentownerisoneofspecifiedusers.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>121</MacroRuleID>
      <MacroRuleName>CMSDocumentRatingIsInRange</MacroRuleName>
      <MacroRuleText>Document rating {_is} between {num1} and {num2}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="num1" fieldcaption="enter rating" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="b0d78577-1f31-483c-8568-663d4328c329" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;FilterType&gt;0&lt;/FilterType&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="num2" fieldcaption="enter rating" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="0f162b61-deea-4087-8ac3-e36a7ef801f7" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;FilterType&gt;0&lt;/FilterType&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="e951932c-316b-45ad-b67c-b68f11555829" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.157+08:00</MacroRuleLastModified>
      <MacroRuleGUID>1da77711-5ab1-4aec-a05a-7ca526cdb620</MacroRuleGUID>
      <MacroRuleCondition>{_is}Document.DocumentRatingValue.Between(ToDouble({num1}),ToDouble({num2}))</MacroRuleCondition>
      <MacroRuleDisplayName>Document rating is in range</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumentratingisinrange.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>114</MacroRuleID>
      <MacroRuleName>CMSDocumentTranslationIsReady</MacroRuleName>
      <MacroRuleText>Document translation {_is} ready</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="d633f4c8-72bf-46f6-b2ee-3d57900b6b91" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.69+08:00</MacroRuleLastModified>
      <MacroRuleGUID>f5afdb21-d1a5-42f3-8c90-aeb1de52f1dd</MacroRuleGUID>
      <MacroRuleCondition>{_is}Document.IsTranslationReady()</MacroRuleCondition>
      <MacroRuleDisplayName>Document translation is ready</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenttranslationisready.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>118</MacroRuleID>
      <MacroRuleName>CMSDocumentTypeIsOneOfSpecifiedTypes</MacroRuleName>
      <MacroRuleText>Document type {_is} one of the following: {types}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="78ad4989-ff70-46f3-89f6-49bdc42b3185" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="types" fieldcaption="select types" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="9402293f-d930-416e-811d-ab89f16a4175" visibility="none"&gt;&lt;settings&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;3&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;cms.documenttype&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;ClassName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ResourcePrefix&gt;allowedclasscontrol&lt;/ResourcePrefix&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.057+08:00</MacroRuleLastModified>
      <MacroRuleGUID>418f27ce-51be-48b5-8990-a65ed051c5e1</MacroRuleGUID>
      <MacroRuleCondition>{_is}Document.NodeClass.ClassName.InList("{types}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Document type is one of specified types</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumenttypeisoneofspecifiedtypes.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>125</MacroRuleID>
      <MacroRuleName>CMSDocumentWillBePublishedInXOrLessDays</MacroRuleName>
      <MacroRuleText>Document {_will} be published in {days} or less days</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_will" fieldcaption="will" visible="true" defaultvalue=";will" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="9a3620d4-d172-4dc3-bdef-94969c2b3175" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;will
!;won't&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="days" fieldcaption="enter days" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="0731e539-8248-4c26-a1e7-2d38ed081df7" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;FilterType&gt;0&lt;/FilterType&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.713+08:00</MacroRuleLastModified>
      <MacroRuleGUID>6173ebf5-2a64-4956-b1d1-46767ec19a7e</MacroRuleGUID>
      <MacroRuleCondition>{_will}(Document.Published || ((Document.DocumentPublishFrom != null) &amp;&amp; (Document.DocumentPublishFrom &lt;= CurrentDateTime.AddDays({days}))))</MacroRuleCondition>
      <MacroRuleDisplayName>Document will be published in X or less days</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsdocumentwillbepublishedinxorlessdays.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>35</MacroRuleID>
      <MacroRuleName>CMSGoogleAnalyticsParameterContainsText</MacroRuleName>
      <MacroRuleText>Google Analytics {param} parameter {op} {text}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="text" fieldcaption="enter text" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="0714e0f3-0bae-45d2-af95-7f0b18d93f00" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="param" fieldcaption="select parameter" visible="true" defaultvalue="utm_campaign;name of campaign" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="50" publicfield="false" guid="58e46375-edbb-43e3-afa8-23fd679ae960" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;google_analytics_parameter_selector&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;utm_medium;method of delivery
utm_source;source of the link
utm_campaign;name of campaign
utm_term;paid keywords
utm_content;split testing&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue="Contains;contains" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="50" publicfield="false" guid="21d9857d-adfa-4f19-ad8a-3aa534ae6d72" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_text_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;Contains;contains
NotContains;does not contain
StartsWith;starts with
EndsWith;ends with
Equals;is equal to
NotEquals;is not equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.357+08:00</MacroRuleLastModified>
      <MacroRuleGUID>478d9d36-21cc-4f3a-bb6b-f2ee21d5e7fe</MacroRuleGUID>
      <MacroRuleCondition>QueryString.{param}.{op}("{text}")</MacroRuleCondition>
      <MacroRuleDisplayName>Google Analytics parameter contains text</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsgoogleanalyticsparametercontainstext.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>127</MacroRuleID>
      <MacroRuleName>CMSPreviousStepHasBeenOneOfSpecified</MacroRuleName>
      <MacroRuleText>Previous step {_perfectum} been one of the following: {steps}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="_perfectum" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="4e7363a7-6123-4987-b408-13ae95296d55" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;has not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="steps" fieldcaption="enter step names" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="1000" publicfield="false" guid="faf7154a-eec6-469d-9fff-1a1ef559c0c2" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.62+08:00</MacroRuleLastModified>
      <MacroRuleGUID>277094e2-7249-4a9c-8adb-311e3bf3094e</MacroRuleGUID>
      <MacroRuleCondition>{_perfectum}Document.WorkflowHistory[0].StepName.InList("{steps}".Split(";"))</MacroRuleCondition>
      <MacroRuleDisplayName>Previous step has been one of specified</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmspreviousstephasbeenoneofspecified.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>130</MacroRuleID>
      <MacroRuleName>CMSSatisfiesMacroCondition</MacroRuleName>
      <MacroRuleText>Satisfies macro condition {condition}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="condition" fieldcaption="enter condition" visible="true" columntype="longtext" fieldtype="CustomUserControl" fielddescription="K# macro condition" publicfield="false" guid="add4ba80-d6c6-417e-ab8b-7597270f69ea" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;conditionbuilder&lt;/controlname&gt;&lt;ShowAutoCompletionAbove&gt;False&lt;/ShowAutoCompletionAbove&gt;&lt;MaxWidth&gt;600&lt;/MaxWidth&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.673+08:00</MacroRuleLastModified>
      <MacroRuleGUID>33e07d27-6277-4470-8bff-1b07aafd1802</MacroRuleGUID>
      <MacroRuleCondition>{condition}</MacroRuleCondition>
      <MacroRuleDisplayName>Satisfies macro condition</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmssatisfiesmacrocondition.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>109</MacroRuleID>
      <MacroRuleName>CMSValueOfDocumentFieldIsInRange</MacroRuleName>
      <MacroRuleText>Value of document field {field} {_is} between {num1} and {num2}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="field" fieldcaption="enter field name" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="b814af1b-aa9e-4565-b14f-9eb435c87567" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_is" fieldcaption="select operation" visible="true" defaultvalue=";is" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="74451c1c-3951-4dac-9c10-85f94678e1e9" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;is
!;is not&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="num1" fieldcaption="enter value" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="4e5de746-f1e3-4f6b-81a1-3286df800351" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="num2" fieldcaption="enter value" visible="true" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="e8bbf0c6-1f3c-444a-8f80-06f77f79153c" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.22+08:00</MacroRuleLastModified>
      <MacroRuleGUID>d6237f00-9683-4f65-8167-80e3d8cb758d</MacroRuleGUID>
      <MacroRuleCondition>{_is}Document.{field}.Between(ToDouble({num1}),ToDouble({num2}))</MacroRuleCondition>
      <MacroRuleDisplayName>Value of document field is in range</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvalueofdocumentfieldisinrange.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>108</MacroRuleID>
      <MacroRuleName>CMSValueOfSpecifiedDocumentFieldContains</MacroRuleName>
      <MacroRuleText>Value of document field {field} {op} {text}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="field" fieldcaption="enter field name" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="100" publicfield="false" guid="097e6928-e23f-4082-a4a9-2442e97fe794" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="op" fieldcaption="select operator" visible="true" defaultvalue="Contains;contains" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="3006ba2f-5299-407f-bd0c-b1a9c4af0741" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_text_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;Contains;contains
NotContains;does not contain
StartsWith;starts with
EndsWith;ends with
Equals;equals to
NotEquals;does not equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="text" fieldcaption="enter text" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="200" publicfield="false" guid="7da9a12a-6eca-4b1d-b066-b320061c13e2" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName>cms.workflow</MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.873+08:00</MacroRuleLastModified>
      <MacroRuleGUID>9f5e1823-3213-4cb4-804f-ba1fe13706c8</MacroRuleGUID>
      <MacroRuleCondition>Document.{field}.{op}("{text}")</MacroRuleCondition>
      <MacroRuleDisplayName>Value of specified document field contains</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>false</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvalueofspecifieddocumentfieldcontains.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>36</MacroRuleID>
      <MacroRuleName>CMSVisitorComesFromURLWhichContainsText</MacroRuleName>
      <MacroRuleText>Visitor has arrived from URL which {op} {text}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="op" fieldcaption="select operation" visible="true" defaultvalue="Contains;contains" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="f338ffd1-233d-4c1c-98cd-1bd03dbb26b1" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_text_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;Contains;contains
NotContains;does not contain
StartsWith;starts with
EndsWith;ends with
Equals;is equal to
NotEquals;is not equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="text" fieldcaption="enter text" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="ac3c48c8-b951-4555-8b07-8bcd86fcab33" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.383+08:00</MacroRuleLastModified>
      <MacroRuleGUID>b1086b7a-0db1-4b16-a1ad-857f06804fe0</MacroRuleGUID>
      <MacroRuleCondition>Visitor.GetUrlReferrer().{op}("{text}")</MacroRuleCondition>
      <MacroRuleDisplayName>Visitor comes from URL which contains text</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvisitorcomesfromurlwhichcontainstext.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>39</MacroRuleID>
      <MacroRuleName>CMSVisitorComesAfterSearchingForKeyword</MacroRuleName>
      <MacroRuleText>Visitor has arrived through a search engine after searching for keyword that {op} "{text}"</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="op" fieldcaption="select operation" visible="true" defaultvalue="Contains;contains" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="97672ab6-4b92-447c-b998-7e6b15c9f255" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_text_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;Contains;contains
NotContains;does not contain
StartsWith;starts with
EndsWith;ends with
Equals;is equal to
NotEquals;is not equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="text" fieldcaption="enter text" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="aff540a6-c476-4a90-90ad-c5b3393e487b" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.963+08:00</MacroRuleLastModified>
      <MacroRuleGUID>f3aee60a-2c75-4630-9876-05732f648670</MacroRuleGUID>
      <MacroRuleCondition>Visitor.GetSearchEngineKeyword().{op}("{text}")</MacroRuleCondition>
      <MacroRuleDisplayName>Visitor has arrived after searching for keyword</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvisitorcomesaftersearchingforkeyword.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>37</MacroRuleID>
      <MacroRuleName>CMSVisitorComesFromURLWhoseParameterContainsText</MacroRuleName>
      <MacroRuleText>Visitor has arrived from a URL whose parameter {param} {op} {text}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="param" fieldcaption="enter parameter name" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="d17a9a7a-cce4-4859-ad2c-b8e1535b85af" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="op" fieldcaption="select operation" visible="true" defaultvalue="Contains;contains" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="f8e27805-5e50-4621-8d22-f08a5109f249" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macro_text_operator&lt;/controlname&gt;&lt;EditText&gt;False&lt;/EditText&gt;&lt;Options&gt;Contains;contains
NotContains;does not contain
StartsWith;starts with
EndsWith;ends with
Equals;is equal to
NotEquals;is not equal to&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="text" fieldcaption="enter text" visible="true" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="1000" publicfield="false" guid="e78392b9-3422-410c-b78f-b5cd3839fe77" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.957+08:00</MacroRuleLastModified>
      <MacroRuleGUID>5960f7ed-9ed6-43dc-a16a-8dc9761226b4</MacroRuleGUID>
      <MacroRuleCondition>Visitor.GetUrlReferrerParameter("{param}").{op}("{text}")</MacroRuleCondition>
      <MacroRuleDisplayName>Visitor has arrived from a URL whose parameter contains text</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvisitorcomesfromurlwhoseparametercontainstext.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>38</MacroRuleID>
      <MacroRuleName>CMSVisitorComesFromSearchEngine</MacroRuleName>
      <MacroRuleText>Visitor has arrived from {engine}</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="engine" fieldcaption="select search engine" visible="true" columntype="text" fieldtype="CustomUserControl" columnsize="200" publicfield="false" guid="5dabacd2-da74-47a9-9742-463a658bd597" visibility="none"&gt;&lt;settings&gt;&lt;AddGlobalObjectNamePrefix&gt;False&lt;/AddGlobalObjectNamePrefix&gt;&lt;AllowAll&gt;False&lt;/AllowAll&gt;&lt;AddGlobalObjectSuffix&gt;False&lt;/AddGlobalObjectSuffix&gt;&lt;LocalizeItems&gt;True&lt;/LocalizeItems&gt;&lt;MaxDisplayedItems&gt;25&lt;/MaxDisplayedItems&gt;&lt;SelectionMode&gt;1&lt;/SelectionMode&gt;&lt;ValuesSeparator&gt;;&lt;/ValuesSeparator&gt;&lt;ObjectType&gt;CMS.SearchEngine&lt;/ObjectType&gt;&lt;AllowEditTextBox&gt;False&lt;/AllowEditTextBox&gt;&lt;ReturnColumnName&gt;SearchEngineName&lt;/ReturnColumnName&gt;&lt;MaxDisplayedTotalItems&gt;50&lt;/MaxDisplayedTotalItems&gt;&lt;DialogWindowName&gt;SelectionDialog&lt;/DialogWindowName&gt;&lt;AllowEmpty&gt;False&lt;/AllowEmpty&gt;&lt;RemoveMultipleCommas&gt;False&lt;/RemoveMultipleCommas&gt;&lt;ItemsPerPage&gt;25&lt;/ItemsPerPage&gt;&lt;controlname&gt;uni_selector&lt;/controlname&gt;&lt;DialogWindowHeight&gt;590&lt;/DialogWindowHeight&gt;&lt;AllowDefault&gt;False&lt;/AllowDefault&gt;&lt;DialogWindowWidth&gt;668&lt;/DialogWindowWidth&gt;&lt;GlobalObjectSuffix&gt;(global)&lt;/GlobalObjectSuffix&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.94+08:00</MacroRuleLastModified>
      <MacroRuleGUID>bcdd932e-7007-44b6-ad2c-433280503ef4</MacroRuleGUID>
      <MacroRuleCondition>Visitor.GetSearchEngine() == "{engine}"</MacroRuleCondition>
      <MacroRuleDisplayName>Visitor has arrived from search engine</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvisitorcomesfromsearchengine.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>40</MacroRuleID>
      <MacroRuleName>CMSVisitorComesToTheWebsiteForTheFirstTime</MacroRuleName>
      <MacroRuleText>Visitor has arrived on the website for the first time</MacroRuleText>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:52.987+08:00</MacroRuleLastModified>
      <MacroRuleGUID>b96b39c9-e3e2-4fd5-a6c4-0e9954f2b33f</MacroRuleGUID>
      <MacroRuleCondition>Visitor.IsFirstTimeVisitor()</MacroRuleCondition>
      <MacroRuleDisplayName>Visitor has arrived on the website for the first time</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvisitorcomestothewebsiteforthefirsttime.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>80</MacroRuleID>
      <MacroRuleName>CMSVisitorHasAtLeastXProductsInShoppingCart</MacroRuleName>
      <MacroRuleText>Current visitor {_has} at least {num} product(s) in their shopping cart</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="num" fieldcaption="enter number" visible="true" defaultvalue="0" columntype="integer" fieldtype="CustomUserControl" publicfield="false" guid="f5be090b-f7be-4d06-884b-d9bce47beab5" visibility="none"&gt;&lt;settings&gt;&lt;AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;False&lt;/AutoCompleteShowOnlyCurrentWordInCompletionListItem&gt;&lt;AutoCompleteFirstRowSelected&gt;False&lt;/AutoCompleteFirstRowSelected&gt;&lt;controlname&gt;textboxcontrol&lt;/controlname&gt;&lt;FilterMode&gt;False&lt;/FilterMode&gt;&lt;Trim&gt;False&lt;/Trim&gt;&lt;AutoCompleteEnableCaching&gt;False&lt;/AutoCompleteEnableCaching&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_has" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="181f5b6a-11c6-4079-892c-3d5246a18f07" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;does not have&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:51.09+08:00</MacroRuleLastModified>
      <MacroRuleGUID>5fa08104-9eeb-47db-8ace-906d445eac86</MacroRuleGUID>
      <MacroRuleCondition>{_has}(GetShoppingCartItemsCount() &gt;= {num})</MacroRuleCondition>
      <MacroRuleDisplayName>Visitor has at least X products in shopping cart</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvisitorhasatleastxproductsinshoppingcart.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>79</MacroRuleID>
      <MacroRuleName>CMSVisitorHasProductInShoppingCart</MacroRuleName>
      <MacroRuleText>Current visitor {_has} product {product} in their shopping cart</MacroRuleText>
      <MacroRuleParameters>&lt;form&gt;&lt;field column="product" fieldcaption="select product" visible="true" columntype="guid" fieldtype="CustomUserControl" publicfield="false" guid="bf843617-1f25-4894-b401-88434025d3f3" visibility="none"&gt;&lt;settings&gt;&lt;DisplayBundles&gt;True&lt;/DisplayBundles&gt;&lt;DisplayMemberships&gt;True&lt;/DisplayMemberships&gt;&lt;DisplayDonations&gt;True&lt;/DisplayDonations&gt;&lt;controlname&gt;skuselector&lt;/controlname&gt;&lt;DisplayEproducts&gt;True&lt;/DisplayEproducts&gt;&lt;AllowEmpty&gt;True&lt;/AllowEmpty&gt;&lt;UseGUIDForSelection&gt;True&lt;/UseGUIDForSelection&gt;&lt;DisplayStandardProducts&gt;True&lt;/DisplayStandardProducts&gt;&lt;DisplayOnlyProductsWithoutOptions&gt;False&lt;/DisplayOnlyProductsWithoutOptions&gt;&lt;/settings&gt;&lt;/field&gt;&lt;field column="_has" fieldcaption="select operation" visible="true" defaultvalue=";has" columntype="text" fieldtype="CustomUserControl" allowempty="true" columnsize="100" publicfield="false" guid="b48d5f5f-0f28-414d-8af0-c9df9a7886ac" visibility="none"&gt;&lt;settings&gt;&lt;controlname&gt;macronegationoperator&lt;/controlname&gt;&lt;RepeatDirection&gt;horizontal&lt;/RepeatDirection&gt;&lt;Options&gt;;has
!;does not have&lt;/Options&gt;&lt;/settings&gt;&lt;/field&gt;&lt;/form&gt;</MacroRuleParameters>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:50.443+08:00</MacroRuleLastModified>
      <MacroRuleGUID>82dfb916-ee65-4bde-8ab5-04bbbc5c3518</MacroRuleGUID>
      <MacroRuleCondition>{_has}ECommerceContext.CurrentShoppingCart.ShoppingCartItems.Exists(SKU.SKUGUID == "{product}")</MacroRuleCondition>
      <MacroRuleDisplayName>Visitor has product in shopping cart</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvisitorhasproductinshoppingcart.description$}</MacroRuleDescription>
    </cms_macrorule>
    <cms_macrorule>
      <MacroRuleID>41</MacroRuleID>
      <MacroRuleName>CMSVisitorIsReturning</MacroRuleName>
      <MacroRuleText>Visitor is returning</MacroRuleText>
      <MacroRuleResourceName></MacroRuleResourceName>
      <MacroRuleLastModified>2012-09-07T18:50:53.017+08:00</MacroRuleLastModified>
      <MacroRuleGUID>139f90eb-bd99-4817-998b-7525300198f6</MacroRuleGUID>
      <MacroRuleCondition>Visitor.IsReturningVisitor()</MacroRuleCondition>
      <MacroRuleDisplayName>Visitor is returning</MacroRuleDisplayName>
      <MacroRuleIsCustom>false</MacroRuleIsCustom>
      <MacroRuleRequiresContext>true</MacroRuleRequiresContext>
      <MacroRuleDescription>{$macrorule.cmsvisitorisreturning.description$}</MacroRuleDescription>
    </cms_macrorule>
  </NewDataSet>
</cms_macrorule>