implement generator row key based on defined rules in map file