add rules for centos
add lua rule