add editing prop to model, give numbers proper type
enable basic editing of rules