LoadRules converted to QueryDatabase
_SaveRules converted to QueryDatabase
GetRulesetID converted to QueryDatabase
_FindOrCreateRuleset converted to QueryDatabase
GetRulesetName converted to QueryDatabase
ListRulesets converted to QueryDatabase
Merge pull request #188 from addtheice/RunQueryToDatabaseQuery_rulesys

Run query to database query rulesys