Now works for straight grounding, groundrule/ prodcued, yay