How to assign material to solify modifier
What we see here is not the rim created by the Solidify modifier, but the thickness created by your Boolean object (here I made it visible, the solidify just make your object thicker but its rim is not visible).