set custom type from rules.properties