add rules for install