There are many acceptable mastery pages you can run on Ryze, the one above is my personal favorite but I will put some more below of other acceptable mastery page choices. (play around and find the one that best fits you.)There are many different options for mastery pages on Ryze, I just put the most basic ones. Play around with it every game and see what you like.
(the site wouldn't allow me to adjust the amount of points in q and r so I made this myself)
INNATE: Ryze gains (5% per 100 AP) bonus mana.
PASSIVE: Ryze's other basic abilities reset Overload's cooldown and generate a Rune for 4 seconds, up to a maximum of 2
ACTIVE: Ryze unleashes a runic blast in the target direction, dealing magic damage to the first enemy struck and consuming all of his Runes.
If Ryze consumes 2 Runes, he shields himself from up to 60 - 200 (based on level) (+ 60% AP) (+ 3% bonus mana) damage for 2 seconds and gains bonus movement speed for the duration.
FLUX: Overload deals increased damage, based on Spell Flux's rank, and spreads to all nearby enemies marked with Flux, consuming the mark on all targets.
ACTIVE: Ryze instantly deals magic damage and Root icon roots the target enemy for 1 second.
FLUX: Rune Prison's Root icon root duration is doubled to 2 seconds.
ACTIVE: Ryze hurls an orb of runic energy at the target enemy, dealing magic damage and marking them with Flux for 3 seconds, causing his next basic ability against them to consume the mark and gain bonus effects.
FLUX: Spell Flux spreads to all nearby enemies, applying its damage and marking them with Flux.
Enemies killed by any of Ryze's abilities while marked with Flux also spread Flux to nearby enemies.
ACTIVE: Ryze channels for 2 seconds, during which he opens a portal around him, and upon successfully completing the channel, he and all allies within the portal blink to the target location.
Ryze can move around and cast spells during this channel, which can be interrupted by both Silence icon silencing and Root icon immobilizing effects.
Realm Warp can only be ranked up twice, with ranks available at levels 6 and 11. Instead, Overload has 6 ranks.