To get the ability to add custom SQL statements, a configuration option will need to be enabled.
1. Open Designer
2. Open the Configuration Parameters
3. Expand: "QER\ComplianceCheck\PlainSQL" and enable.
Please Note, if enabled, disable the SimpleMode configuration parameter if the Rule Condition still does not look correct.