Remove special Jenkins rule for finding build type.