Add resource rules
add resource rules