Forgot about space for a terminating NULL byte when alloc'ing rules' keys and values.
Forgot about space for a terminating NULL byte when alloc'ing rules'
keys and values.

Thanks Valgrind!

marwy/deniro