Added rules to paginator for next url