An appellate court has ruled that Iowa can fully enforce a law restricting instruction on gender identity and sexual orientation in schools up to sixth grade.