This replicates the behavior of StyleSheetList::add_sheet, making sure the rules added by the imported style sheet are applied.