Support CREATE DATABASE statement
Refactor rules