enum rules values replaced with constants