Finished initial rules engine example