ruleset query and d/entity db (read-string id)