The elementary cellular automaton is a one-dimensional cellular automaton where a cell's new state is determined by the cell to the left, itself, and the cell to the right.
The rule field takes in an integer in 0-255, with each digit of the binary representation of the number representing the result of the binary representation of the number representing that state. This confusing representation is called the Wolfram Code.