Add a converter in OSDMap to split the ruleset into rule

Add a convert funtion in OSDMap, this function will reorganize
current(pending) crush, make the rule_id start from 0 and hoding
the constraint that rule_id == ruleset_id, and change the pools'
ruleset accordingly.

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>