rule all:
    input:
        "foo.txt"

rule a:
    output:
        "{test}.txt"
    shell:
        "echo {rule} {wildcards} > {output}"
