Add rule #1. Use generic rule application function.
Merge pull request #30 from cosmoharrigan/rule-engine

Add rule #1. Use generic rule application function.