In most cases front and rear rims are identical, although Ritchey for example have made rims with offset spoke holes to offset the effect of wheel dish on rear wheels.
Anyway, the drive side spokes on rear wheels are normally about 1-2mm shorter than on the non drive side. Front wheels normally have the same length spokes on both sides.
Disc wheels occasionally throw up some changes to this for front wheels.