fixes #259 - detect amount fields. adjust regex of readonly rule