adds digits:value rule and AMD support