rule a:
    output:
        "test3.txt"
    shell:
        "echo foo > {output}"