Implement changes to eval() and necessary helper functions for database connection
Implement changes on the function eval() of RuleHandler necessary for the EntityInitializer. This includes helper functions for the database used through the RuleHandler to connect, close, commit, and commit and closer.