Changed the edit rule view in the backbone app to properly preserve the active status of a rule when saving.
Added statistics generation to the stream app.