added: plugin will get cloud rules in onload event

maybe need more test..