Keep in mind which rule throws which errors

This keeps an extra property `sender` which has the optionname of the rule inside.
FIxed.