//[QUALITY] == "Legendary"
// keep all Weapon for now
//[QUALITY] == "Legendary" && [BASETYPE] == "Weapon"
// keep all Armor for now
//[QUALITY] == "Legendary" && [BASETYPE] == "Armor"
// keep all jewelerys for now
//[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry"
// 1h Weapon
[QUALITY] == "Legendary" && [NAME] == "The Butcher's Sickle" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "The Burning Axe of Sankis" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Sky Splitter" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Wizardspike" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Nailbiter" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Echoing Fury" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Sun Keeper" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "The Three Hundredth Spear" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Empyrean Messenger" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Doombringer" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Skycutter" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Sever" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Azurewrath" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Devil Tongue" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Gidbinn" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Last Breath" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Manajuma's Carving Knife" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Won Khim Lau" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Crystal Fist" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Fist of Az'Turrasq" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Shenlong's Fist of Legend" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Shenlong's Relentless Assault" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Blade of the Warlord" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Solemn Vow" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Warrior Blood" -> [KEEP]
// 2h Weapon
[QUALITY] == "Legendary" && [NAME] == "Messerschmidt's Reaver" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Skorn" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Sledge of Athskeleng" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Schaefers's Hammer" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Heart Slaughter" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Vigilance" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Tormentor" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Grand Vizier" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Sultan of Blinding Sand" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Warmonger" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Maximus" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Grandfather" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Flying Dragon" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Inna's Reach" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Gavel of Judgment" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Fury of the Vanished Peak" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Immortal King's Boulder Breaker" -> [TRASH]
// Ranged
[QUALITY] == "Legendary" && [NAME] == "Windforce" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Pus Spitter" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Hellrack" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Manticore" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Balefire Caster" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Dawn" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Calamity" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Danetta's Revenge" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Danetta's Spite" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Natalya's Slayer" -> [TRASH]
// Wand
[QUALITY] == "Legendary" && [NAME] == "Fragment of Destiny" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Slorak's Madness" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Chantodo's Will" -> [KEEP]
// Off-Hand
[QUALITY] == "Legendary" && [NAME] == "Ivory Tower" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Stormshield" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Thing of the Deep" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Uhkapian Serpent" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Manajuma's Gory Fetch" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Zunimassa's String of Skulls" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Triumvirate" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "The Oculus" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Chantodo's Force" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Unwavering Glare" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Dead Man's Legacy" -> [KEEP]
// Helm
[QUALITY] == "Legendary" && [NAME] == "Andariel's Visage" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Mempo of Twilight" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Immortal King's Triumph" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Natalya's Sight" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Guise of Wisdom" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tzo Krin's Gaze" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Madstone" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Inna's Radiance" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tiklandian Visage" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Visage of Giyua" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Zunimassa's Vision" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Storm Crow" -> [KEEP]
// Shoulder
[QUALITY] == "Legendary" && [NAME] == "Vile Ward" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Death Watch Mantle" -> [TRASH]
// Chest
[QUALITY] == "Legendary" && [NAME] == "Cindercoat" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Tyrael's Might" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Blackthorne's Surcoat" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Immortal King's Eternal Reign" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Inna's Vast Expanse" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Relentless Pursuit" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Zunimassa's Marrow" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "The Inquisitor" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Natalya's Embrace" -> [KEEP]
// Bracers
[QUALITY] == "Legendary" && [NAME] == "Promise of Glory" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Strongarm Bracers" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Lacuni Prowlers" -> [KEEP]
// Hands
[QUALITY] == "Legendary" && [NAME] == "Gladiator Gauntlets" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Frostburn Gauntlets" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Tasker and Theo" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Immortal King's Irons" -> [KEEP]
// Belt
[QUALITY] == "Legendary" && [NAME] == "Hellcat Waistguard" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Witching Hour" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Blackthorne's Notched Belt" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Inna's Favor" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Brace" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Ageless Might" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Lamentation" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Immortal King's Tribal Binding" -> [KEEP]
// Pants
[QUALITY] == "Legendary" && [NAME] == "Depth Diggers" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Blackthorne's Jousting Mail" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Inna's Temperance" -> [KEEP]
// Boots
[QUALITY] == "Legendary" && [NAME] == "Fire Walkers" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Ice Climbers" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Blackthorne's Spurs" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Immortal King's Stride" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Natalya's Bloody Footprints" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Zunimassa's Trail" -> [KEEP]
// Amulet
[QUALITY] == "Legendary" && [NAME] == "The Flavor of Time" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Kymbo's Gold" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Ouroboros" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Star of Azkaranth" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Mara's Kaleidoscope" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Xephirian Amulet" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Blackthorne's Duncraig Cross" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Tal Rasha's Allegiance" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "The Traveler's Pledge" -> [TRASH]
// Ring
[QUALITY] == "Legendary" && [NAME] == "Bul-Kathos's Wedding Band" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Eternal Union" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Band of Hollow Whispers" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Heirophant's Seal" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Skull Grasp" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Oculus Ring" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "Stone of Jordan" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Unity" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Litany of the Undaunted" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Natalya's Reflection" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "The Compass Rose" -> [TRASH]
[QUALITY] == "Legendary" && [NAME] == "The Wailing Host" -> [KEEP]
[QUALITY] == "Legendary" && [NAME] == "Zunimassa's Pox" -> [KEEP]
// cleanup rule trashing all other weapon legendarys
//[QUALITY] == "Legendary" && [BASETYPE] == "Weapon" -> [TRASH]
//[QUALITY] == "Legendary" && [BASETYPE] == "Armor" -> [TRASH]
//[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" -> [TRASH]