rule a:
    output:
        "test.out"
    shell:
        "echo '{resources.foo}"
        "' > {output}"

