The words juice, fruit, bruise, cruise, sluice, suit, pursuit, suitcase, lawsuit, nuisance, recruit, bruit are spelled with ui and pronounced with the IPA phoneme /uː/.
Full pronunciations from OED:
nuisance: Brit. /ˈnjuːsns/, U.S. /ˈn(j)us(ə)ns/
juice: Brit. /dʒuːs/, U.S. /dʒus/
cruise: Brit. /kruːz/, U.S. /kruz/
bruise: Brit. /bruːz/, U.S. /bruz/
suit: Brit. /s(j)uːt/, U.S. /sut/
recruit: Brit. /rᵻˈkruːt/, U.S. /rəˈkrut/, /riˈkrut/
fruit: Brit. /fruːt/, U.S. /frut/
sluice: Brit. /sluːs/, U.S. /slus/
bruit: Brit. /bruːt/, U.S. /brut/ (In sense 5 also) Brit. /ˈbruːi/, U.S. /ˈbrui/
The pronunciation differs from some other similar words spelled with ui like guise, disguise, guide, cuisine, suicide.
Full pronunciations from OED:
guide: Brit. /ɡʌɪd/, U.S. /ɡaɪd/
guise: Brit. /ɡʌɪz/, U.S. /ɡaɪz/
cuisine: /kwiːˈziːn/
suicide: /ˈs(j)uːɪsʌɪd/
Ruin is kind of an exception to an exception because the pronunciation is different in British English and American English:
Full pronunciations from OED:
ruin: Brit. /ˈruːɪn/, U.S. /ˈruən/, /ˈruˌɪn/
Note: There can be other similar words I might have missed and there can be dialectal/regional differences also.
When I checked the etymology of the word sluice in OED, I found this note:
The spelling with ui (compare juice) did not come into general use until the 18th century.
In fact, when you check the older (pre-1600s) spellings of the word sluice in OED, you can see that it is mostly spelled with u instead of ui. (Of course, there are other irregular spellings also). In OED, the first citation where the word is spelled with ui is from 1611. The word is written as sluice which is same as today and the citation is from Randle Cotgrave · A dictionarie of the French and English tongues · 1st edition.
In OED, the etymology of the word doesn't mention the ui spelling also (except the current Dutch word sluis):
< Old French escluse (-clusse , -clouse , etc.; modern French écluse ), = Spanish esclusa , Portuguese esclusa , late and medieval Latin exclusa (also sclusa , etc.), feminine singular of Latin exclūsus , past participle of exclūdere to shut out, exclude v.
Old French is also the source of Middle Dutch sluse , sluyse , sluus (Dutch sluis , West Frisian slús ), Middle Low German sluse , sluze (Low German slüse , slüs , German schleuse ), Danish sluse , Swedish slus . For the English forms which represent the late Latin clūsa see clow n.1
Historical spellings of sluice from OED:
α.
1340: scluse
1449: Scluces
c1480: scluse
1558: sklus
1583: scluse
1609: scluces
1665 : Scluse
β.
1533: slewssis
1541–2: sloweses
1582: sleuss
?1677: slewces
γ.
1538: sluse
1568: slus
1577: Sluse
1611: sluce
1648: Sluses
1695: Sluces
δ.
1596: Sluyce
1611: Sluice
1699: sluice
1745: Sluices
1785: sluices
1839: sluice
1879: sluices
1794: sluices
You can see a similar pattern for juice, bruise and somewhat cruise also.
In OED, the first citation where juice is spelled as today is from a1626.
Etymology of juice from OED:
< French jus, < Latin jūs broth, sauce, juice of animal or plant. The β forms are normal from French; with the others compare those of duke, flute, jupe, and bruit, fruit.
OED has the note below in the etymology of cruise:
The word is thus ultimately identical with croise v. and cross v.; the current spelling with ui seems to be after Dutch; but the vowel sound is as in Spanish and Portuguese.
Although there isn't an exact pattern, the historical spelling change pattern explained above differs in the words like suit, fruit, recruit but the question and the answer might cover them also. The words in the question is mostly the ones where it has the ui spelling followed by ce and se.
After all these historical notes, what is the question?
Why was ui spelling introduced in words that used to be spelled with u and where the pronunciation is with IPA phoneme /uː/?
Why did it become more prevalent after 18th century?
Note: I know that historical "why" questions are hard to answer. English has a lot of irregularities and changes throughout the history also. There isn't an exact pattern or rule in spelling and orthography; but the spelling is mostly fixed in the traditional orthography.
- The answer might be related to the English spelling reforms or how Dutch influenced the spelling of the words in these reforms or in the history.
- Or is there any influential person or publication that might have affected these spellings?
- Or might the spelling of the word fruit or any other word have influenced the words like juice, sluice? Fruit is an older word but it has historical spellings like frut and the first citation with fruit is from 1549 in OED.
- Was there a need or a proposition of indicating longer u sound in the spelling reforms?