You can look here for that information or you can call and ask them: http://www.lni.wa.gov/scs/electrical/
My guess is that the rod "electrode" must be driven beyond the footing, and that can be 12-18 inches away from the wall.
Rods driven to less than their total length of 8 feet, and not flush with or buried, also violate code, and .... create a serious tripping hazard as well!
I am aware of a story where a woman tripped and the rod (stuck up out of the ground) pierced through her eye, and out of the back of her head!!
[This message has been edited by Joe Tedesco (edited 02-22-2003).]