add rules for hardening