Don't create style guidelines just for the sake of having guidelines. Rather, make sure that you have specific goals for your guidelines and that satisfying these goals, not just following the specific guidelines, is your ultimate objective. I believe the following are reasonable goals for user interface style guidelines:
This last goal is especially important. Effective guidelines should make the programmer's job easier, not harder. They should help the programmer get his work done, not interfere with it.
TIP
Effective use interface style guidelines make your job easier, not harder.
Rigid enforcement of style guidelines shouldn't be necessary, since programmers should be able to tell when the guidelines apply and when they don't. Furthermore, the existence of guidelines shouldn't be used as an excuse to stop thinking. Blindly following the style guidelines in circumstances in which they are inappropriate doesn't make sense.
TIP
Having user interface style guidelines doesn't mean that you can stop thinking.