added general equals constraint that checks if a subject is equal to a specific value