Overview: The rules for voice leading are very similar to those of species counterpoint. In fact, it is wise to keep species counterpoint "in the back of your head," at all times because species counterpoint can be shown to be a powerful force that plays an important role in even the most apparently eclectic musical style.
2.1 Goals
It is important to remember when writing music (ANY music) that melodies that can be sung easily can also be heard easily; the melodies that fit this criteria generally are considered pleasing and "good," while melodies that don't are quickly forgotten (not that this is a bad thing).
In other words, sing everything you write! If you can't sing it, chances are the melody is either beyond your comprehension (in other words, it might be just too complicated) or it is too jumpy or disconnected for it to make musical sense.
The ultimate goal of exercises like this is to create music that is pleasing, interesting, and functional.
The rules presented here are in no way designed to restrict your ability; in fact, they will help you understand some universal musical materials while giving you important hands-on experience with the manipulation of pitches.
2.2 Single Line Guidelines
For any single line (whether it be bass, tenor, alto, soprano, or other instrument) try to adhere to the following general restrictions:
2.3 Combining Three or More Parts
The rules above will apply even when you have a three or four part texture. When generating music in this style, remember that each part is a melody that should hopefully be sung or played at some time. The care you take in making sure your melodies all work horizontally will definitely pay off when you build chord structures and harmonies.
2.4 Restrictions on Multipart Composition (3 and 4 voices in the chorale style)
Ideally, a composition in this style will exhibit a) good harmonic progression and b) independent and interesting melodies combined to create a composition that can be listened to "vertically" or "horizontally."