One row, eight neighborhoods
An elementary cellular automaton is a single row of cells, each either 0 or 1. At every step, each cell looks at itself and its two neighbors. Three cells give eight possible neighborhoods, and a rule says what the new cell is for each of the eight. With two choices for each of eight neighborhoods there are 28 = 256 rules. Each new row is drawn under the last, so the picture shows the whole history at once, with time running down the page.
Rule numbers
Write the eight neighborhoods in order from 111 down to 000 and note the new state under each. Read across, those eight digits are a binary number, and that number names the rule. Rule 30 gives 0, 0, 0, 1, 1, 1, 1, 0, and 00011110 in binary is 30. This numbering is called the Wolfram code.
Mirrors and complements
Reflecting a rule left to right gives its mirror image, and swapping the roles of 0 and 1 gives its complement. Either change gives a rule whose pictures are the same, only reflected or inverted. Grouped this way, the 256 rules reduce to 88 that are genuinely different.
Four kinds of behavior
Started from random cells, rules tend to do one of four things. Some quickly reach a uniform row, like rules 0, 32, 160 and 232. Some settle into stable or repeating stripes, like 4, 108, 218 and 250. Some look random forever, like 22, 30, 126, 150 and 182. And a few grow structures that move and collide in complicated ways, like rule 110, which has been proved able to carry out any computation. These four groups are known as Wolfram's classes.
Sources: Elementary cellular automaton, Rule 30, Rule 90, Rule 110 and Rule 184 on Wikipedia.