Move constants to rights.rb.