[Feature]add get rules
add resources from other database