Flame integration working. Use Task.async() and generators to streamline rule reading flow.