Error in integrity check: syntax error, unexpected string content "rule_typ", expecting ")"