See if the following CF rule works for you:

=ABS(NETWORKDAYS(F22,B22,Holidays))<=5

where Holidays is a named range that contains holiday dates.