added evoloop and pattern and empty rule