master: rule generation made