read type of constraint templates