Add filter to match program/subcommands