Added rules to the app. Final iteration complete.
resolves #1