[FIX] total_rule_max input parameter type only tuple

Merged Santiago Apel requested to merge fix_rule_total_max into 12.0-stage

Replaces last commits

Merge request reports