Setting the rules explicitly was preventing users from customizing how xwidget popups should behave, so it was moved to the popup module as a global default.