tweaks to v150 upgrade script; ensure we truncate before resetting rules tables