You asked for a rule by name, but that rule only makes sense per-sample
Running snakemake myrule asks for a rule directly, but a rule with wildcards has no meaning without concrete values — Snakemake cannot know which sample you meant.
Ask for the concrete files instead (snakemake results/sampleA.bam), or define an all rule whose input lists every final file you want and run that.