Rite Aid gets confidence boost in uncertain times