Creates a build rule matching a build with the specified tag in the specified branch
tag to use
branch to use, if not specified only builds from the default branch are matched