rule selector for dtables
(cherry picked from commit ec703e0a28b899df2d9380f1f846968233eed25b)
moving the rule selector and adding i18n
(cherry picked from commit 575026f28a161722af447831e186ba8c30629e57)