Rules now an object. Library documentation. Email input modified.

* Rules is now expected to be an object containing a list of rules.
* COMMENT ALL THE THINGS!  // ALLLLLLLLLLL THE THINGS
* Email input type changed to `email`. CSS rules added.