Closes #13

Added support for shorthand type rules.