Update ruleengine_rules.sql

added code to create database if it does not exist