fix world-gen weight-selection crash. fix one-off in converted template
rules.  Converted templates _appear_ to work fine, but more testing is
needed.