You are trying to enable an existing or newly created DRS rule (for example a Host to VM affinity rule), while there are multiple other existing rules in the same cluster.
After changing the rule status to enabled, and leaving the wizard, it immediately goes back to being disabled.
vCenter Server 8.0 Update 2
This issue is caused by one or more of the existing rules having invalid (aka null) entries. These can be caused by either virtual machines or hosts referenced in them, which have been removed from the vCenter inventory.
The references for these objects can get stuck in the affinity rule, making it invalid.
To fix the issue: