I need to make the following produce two opposite lists in English (aligned to the left) and Arabic (aligned to the right) while understanding the reason behind the warning
Language 'Arabic' not available for font(fontspec) 'Scheherazade' with script 'Arabic'.
Additionally, why aren't the \hrules drawn before and after the tcbraster?
\documentclass[12pt, a4paper]{article}
\usepackage[tuenc,no-math]{fontspec}
\setmainfont[
Ligatures = {
NoCommon, % liga
NoRare,% dlig
}
]{Latin Modern Roman}
\newfontfamily\arabicfont{Scheherazade}[ Script = Arabic, RawFeature={+anum}, Scale = 1]
\usepackage[english, bidi = basic]{babel}
\babelprovide[import, onchar = ids fonts]{arabic}
\babelfont[arabic]{rm}{Scheherazade} % [Scale = 2]{Scheherazade}
\babelfont[arabic]{sf}{Scheherazade}
\usepackage[xparse,breakable,raster,skins, fitting]{tcolorbox}
\usepackage{ulem, enumitem}
\parindent=0pt
\begin{document}
\begin{tcbraster}[
raster columns = 2,
valign = center,
raster before skip = 1ex,
raster after skip = 1ex,
blankest,
height = 3em,
before = \hrule,
after = \hrule
]
\tcboxfit[ halign = flush left , right = 1ex ]{
\textbf{\uline{Important Rules:}}
\begin{itemize}[
label = \textbullet, leftmargin=*, labelsep = \fontdimen2\font, itemsep = 0.5\baselineskip, %nosep
topsep = 0.5\baselineskip,
font=\bfseries, before=\bfseries % https://tex.stackexchange.com/a/164268/2288
]
\item First rule.
\item Second rule
\end{itemize}%
}
\tcboxfit[ halign = flush right, left = 1ex ]{%
\textbf{\uline{%
قواعد هامة:%
}}
\begin{itemize}[
label = \textbullet, leftmargin=*, labelsep=\fontdimen2\font, itemsep = 0\baselineskip, %nosep
topsep = 0.5\baselineskip, font=\bfseries, before=\bfseries
]
\item القاعدة الأولى
\item القاعدة الثانية
\end{itemize}%
}%
\end{tcbraster}%
\end{document}


babelcan’t know when to switch it and it must be done explicitly. See the muzimuzhi Z's answer. – Javier Bezos Jul 07 '21 at 16:32