Part no. 27 could be an AC voltage regulator (I'm not sure about part no. 30). Does the manual you got the sketch from have a description for it?
Check the last post here
http://www.gasgasrider.org/forum/sho...ht=wild+wiring and see if you can follow the colours.
EDIT: Not many devices will have a ground connection and only one other wire (regarding part no. 27)