pub fn rule<S>(name: S, rules: Arc<RwLock<Rules>>) -> impl Generatorwhere S: Into<String>,
rule is a helper to create a Rule Generator