lawyer has a moat with license and degree, does not translate to software unless you work in very specific areas
also software contracts are generally not for 1 or 2 hours in total. if you NEED and get someone to consult on your code for 1 or 2 hours the rate would be astronomical too.