Remove the danda rule and add a test

This commit completes the fix of this downstream bug:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51285