This is fastest rifle build humanly (haha) possible, bypassing foots altogether...
This is VVoLF's straight Rifle build. This build gets you Rifles faster than any other I've seen, but it's comlex, so take note.
- Send all peasants to gold, and queue two.
- Rally them to lumber, NOT gold. (You will only have 4 peasants on gold for quite awhile, so make sure you remember to take the guy who finishes the Blacksmith later, and put him on gold when he's done)
- Take a peasant from gold and START an Altar (but do NOT finish it, just start it, then immediately walk away).
- Use same peasant to START a Farm (again, just barely start it, then walk him away from it).
- Send that peasant to gather lumber, and keep making more peasants, all queued to lumber (until you get 10 food in peasants, then stop making them).
- Once you reach 100 lumber, take one lumber-gathering peasant and BUILD (not just start, but fully build) a Blacksmith. When this peasant is finished building the Blacksmith, send him to get gold, so you have 5 on gold.
- When you get to 60 lumber, take another peasant from lumber and BUILD (fully build, not start) a Barracks.
- When you get 20 lumber, take 3 peasants off lumber. One finishes the Altar you began before, one finishes the Farm you began before, and one BUILDS (not starts, but fully builds) a second Farm.
- When you get to 50 lumber, your Barracks should just be completing, so train a Rifleman, and build another Farm.
- You should then get another 30 lumber and train a second Rifleman about the time when your Altar completes.
- Train AM (or Paladin if vs UD) - you should be at 21 food (10 workers, 2 Rifles, one hero being trained).
- Train additional Rifleman as resources permit, and make 2-3 additional peasants along the way. After awhile, you should be at about 44 food.
Think that's about it. Build Lumber Mill and Arcane Vault as needed, whenever you like, and tech to tier two when you're around 30-35 food.
Now note, rifle build is extremly RT shit...you don't do this in solo cause well, it's noob if you do it in solo...and I call you noob if you do it in team games but whatever

(I play UD)