In accordance or agreement; agreeably; conformably.
In accordance with what is right or just; fairly.
Rightly, correctly.