better rules.yaml fix