Init various arrays in easyrule before use with references. Fixes #9119
(cherry picked from commit b55d94e80eeed57e39d33c643bf00be6565c1938)
Init various arrays in easyrule before use with references. Fixes #9119
(cherry picked from commit b55d94e80eeed57e39d33c643bf00be6565c1938)