I believe the best place for this MaxCDN htaccess code would be in this BPS Custom Code text box:
After copying and pasting the MaxCDN htaccess code into this Custom Code text box, click the Save Root Custom Code button, Go to the BPS Security Modes page, click the Create secure.htaccess File AutoMagic button and activate Root folder BulletProof Mode again.