Quote shell special characters in rule line