Adding pagination to ruleScorecard view