add warior class and rule for them