Fixes #4589: only count non system rules on homepage
Merge pull request #464 from fanf/bug_4589/correct_number_rules_homepage

Fixes #4589: only count non system rules on homepage