Migrate rewards to pundit

This PR is related to #39 and #46.