ERROR: Expecting to find a type to be declared in a module rules named 'UnrealED' in UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.

I had the same issue with XMLParser. It has to be passed as “XmlParser” in the *.Build.cs file.