Rightly has 2 different meanings across 1 category:
Adverb
Adverb
1
with honesty
"he was rightly considered the greatest singer of his time"
2
In a right manner, correctly, justifiably.
"She was rightly praised for her quick thinking during the emergency."