Update rule_string.py