Fix plugin load rules