added fixes to add sec rule