A winter storm is moving out of the San Diego area Friday but brought much-needed rainfall and gusty winds that led to some flooding and downed trees.