pub fn create_rule(pattern: &str, replacement: &str) -> Option<Rule>
Create a rule object from pattern and replacement strings