There is. As mentioned, I kinda abandoned this whole PR when I realized it's impossible to code the rules.