Adds log and rule for activity
Merge pull request #4 from kitan1982/master

Adds log and rule for activity