Automatic generation of possible clan restrictions generated from
database. Bug with String cast to Integer using value map for
restrictions.