Often a requirement of the court for Hamlet’s rest (7)
I believe the answer is:
silence
'rest' is the definition.
(thesaurus)
I can't explain the remainder of the clue.
Can you help me to learn more?
(Other definitions for silence that I've seen before include "License (anag)" , "Noiselessness" , "Secrecy; stillness" , "'The rest is - - '(Hamlet)" , "No talking" .)