Merge pull request #32 from cureos/master

Moved DatabaseQueryTransformRule to separate file