add rule for medium attribute banned