What were common task of the corporation formed by the urban and rural districts?