Fixed error in HTTP error's handler
Added 'values' rule validation. It's limits validated value by some set of allowed values.