The rule would prohibit local governments and schools from displaying flags with political messages, ideology, or references to race, gender, or sexual orientation.