Rite Aid has tapped the former top lawyer at Aetna and Walgreens to fill a chief legal officer role vacated by Paul Gilbert in March.