Changed: GenerateRule design