rule-engine: fix build break

I'm guessing that Amen has a newer compiler than what I have.
This does not build on gcc-4.6.4
rule-engine-tests: fix build break

Older compilers do not support assignments like this.
Merge pull request #1054 from linas/fixy

Rule-engine: support older compilers