[ADD] rrules as total of rule.code

Merged Santiago Said requested to merge AddRRules into 8.0-stage

Merge request reports