bake: made bake() accesses to @map thread-safe, as rules are intended to call bake() asynchronously