PopUp Rate Incentive?

Can I show a pop up for an iOS app that says “Rate this game now and get 5 coins”? I think this is a win win for both the user, and I; but is apple ok with something like this? I want to make sure I’m within guidelines.

Issue is that you cannot be sure if user gave any rating to your game.

There are games that do this, so it is OK.