Modify newrule

Signed-off-by: claire921 <claire921@gmail.com>