ModSecurity RULES like this can cause errors or working?

I am configuring MODSECURITY RULES so that MODSECURITY does not block googlebot.

I originally added code like this.

SecRule ARGS “\.\./” “t:normalisePathWin,id:99999,severity:4,msg:‘Drive Access’ ,log,auditlog,deny”,
#Allow googlebots
SecRule REMOTE_HOST googlebot.com$ allow,pass
#Add this to your config. The right way to identify Google bot is it’s User-Agent.
SecRule REQUEST_HEADERS:User-Agent “Googlebot” phase:1,nolog,allow,ctl:ruleEngine=off

GoogleBot by user-agent

SecRule HTTP_USER_AGENT “Google” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot” nolog,allow
SecRule HTTP_USER_AGENT “GoogleBot” nolog,allow
SecRule HTTP_USER_AGENT “googlebot” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot-Image” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot-Image/1.0” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot/2.1” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot/Test” nolog,allow
SecRule HTTP_USER_AGENT “Mediapartners-Google” nolog,allow
SecRule HTTP_USER_AGENT “Mediapartners-Google/2.1” nolog,allow
SecRule HTTP_USER_AGENT “Mediapartners-Google*” nolog,allow
SecRule HTTP_USER_AGENT “AdsBot-Google” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot-News” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot-Video” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot-Video/1.0” nolog,allow
SecRule HTTP_USER_AGENT “APIs-Google” nolog,allow
SecRule HTTP_USER_AGENT “AdsBot-Google-Mobile” nolog,allow
SecRule HTTP_USER_AGENT “AdsBot-Google-Mobile-Apps” nolog,allow
SecRule HTTP_USER_AGENT “FeedFetcher-Google” nolog,allow
SecRule HTTP_USER_AGENT “Google-Read-Aloud” nolog,allow
SecRule HTTP_USER_AGENT “DuplexWeb-Google” nolog,allow
SecRule HTTP_USER_AGENT “Google Favicon” nolog,allow
SecRule HTTP_USER_AGENT “googleweblight” nolog,allow
SecRule HTTP_USER_AGENT “Storebot-Google” nolog,allow
SecRule HTTP_USER_AGENT “msnbot” nolog,allow

But when reloading the page, the code it like this tangle. (All on the same line)

SecRule ARGS “\.\./” “t:normalisePathWin,id:99999,severity:4,msg:‘Drive Access’ ,log,auditlog,deny”,#Allow googlebots,SecRule REMOTE_HOST googlebot.com$ allow,pass,#Add this to your config. The right way to identify Google bot is it’s User-Agent.,SecRule REQUEST_HEADERS:User-Agent “Googlebot” phase:1,nolog,allow,ctl:ruleEngine=off,# GoogleBot by user-agent,SecRule HTTP_USER_AGENT “Google” nolog,allow,SecRule HTTP_USER_AGENT “Googlebot” nolog,allow,SecRule HTTP_USER_AGENT “GoogleBot” nolog,allow,SecRule HTTP_USER_AGENT “googlebot” nolog,allow,SecRule HTTP_USER_AGENT “Googlebot-Image” nolog,allow,SecRule HTTP_USER_AGENT “Googlebot-Image/1.0” nolog,allow,SecRule HTTP_USER_AGENT “Googlebot/2.1” nolog,allow,SecRule HTTP_USER_AGENT “Googlebot/Test” nolog,allow,SecRule HTTP_USER_AGENT “Mediapartners-Google” nolog,allow,SecRule HTTP_USER_AGENT “Mediapartners-Google/2.1” nolog,allow,SecRule HTTP_USER_AGENT “Mediapartners-Google*” nolog,allow,SecRule HTTP_USER_AGENT “AdsBot-Google” nolog,allow,SecRule HTTP_USER_AGENT “Googlebot-News” nolog,allow,SecRule HTTP_USER_AGENT “Googlebot-Video” nolog,allow,SecRule HTTP_USER_AGENT “Googlebot-Video/1.0” nolog,allow,SecRule HTTP_USER_AGENT “APIs-Google” nolog,allow,SecRule HTTP_USER_AGENT “AdsBot-Google-Mobile” nolog,allow,SecRule HTTP_USER_AGENT “AdsBot-Google-Mobile-Apps” nolog,allow,SecRule HTTP_USER_AGENT “FeedFetcher-Google” nolog,allow,SecRule HTTP_USER_AGENT “Google-Read-Aloud” nolog,allow,SecRule HTTP_USER_AGENT “DuplexWeb-Google” nolog,allow,SecRule HTTP_USER_AGENT “Google Favicon” nolog,allow,SecRule HTTP_USER_AGENT “googleweblight” nolog,allow,SecRule HTTP_USER_AGENT “Storebot-Google” nolog,allow,SecRule HTTP_USER_AGENT “msnbot” nolog,allow

So is it an error? Or is it normal?

Thanksss!