jeffjiang: add cfgclient and customruleclient interfaces so that custom rule and other configurations may be retrieved from plugin mechanism and Zookeeper-like services