Reduce accessibility for setRules() [SERINA-10]
Move database instance from Base Mapper to Query [SERINA-10]

This makes mappers more lightweight, as the only db connections occur in
a Query definition (the only place where the db is used anyway)