Clinical Rules SQL Syntax Error fix