In accordance with what is right or just; fairly.
Rightly, correctly.
In a thoughtfully measured or regulated manner, eschewing extremes.