Awesome work man! Works perfectly for me, have to make sure to uncheck the 2d extras folders and get the 2d extras preview package through the package manager, and then only import the tilemapautorule folder from this package.
Update : build error because the %if UNITY_EDITOR's #end_region is inside the class rather than outside it.