Aah ok – looks like you’re still using the old Hooks module. You can enable Appearance > GeneratePress > Elements module then you should see Appearance > Elemements and they will have a Display Rules tab.
Any old Hooks or Page Headers will appear in the Elements module under legacy.
<script>
jQuery(".test").chosen({
search_contains: false,
enable_split_word_search: false
});
</script>
Do I place it in the empty box (with no title) above the settings bar