function to get district to ac mapping.