Unruly
late Middle English: from un-1 ‘not’ + archaic ruly ‘amenable to discipline or order’ (from rule).
wiktionary
From Middle English unruly(“unquiet, restless”), equivalent to un- + rule + -ly (compare Middle English ruly, reuli(“subject to a religious rule, regular”)), but also representing a modified continuation of earlier Middle English unrouly, unroly(“unquiet, restless”), equivalent to un- + roolie. The latter is perhaps from or influenced by Old Norse *úróligr, related to Danish urolig(“restless”), Swedish orolig(“restless”), Icelandic órólegur(“agitated”). Compare also Middle English unroo, unro(“unrest”). More at roo.
etymonline
unruly (adj.)
"disposed to resist lawful restraint," c. 1400, from un- (1) "not" + obsolete ruly (adj.) "amenable to rule." Related: Unruliness.