Chief legal officers at corporations across the country said they are bringing more work inside and increasing their staff and budgets to do so, according to a survey conducted by Altman Weil Inc., a Kennett Square, Pa.-based consultant to law firms and legal departments.