Added rule for generation fo source guards on SelfLooping events