Use YAML for rules