Fix compilation problem in RPGRules.

Signed-off-by: Patrick Dinklage <pdinklag@googlemail.com>