Twitter revealed the framework of its political ad policy. The company intends to stop advertisers from targeting users based on biases.