[rules-dev] Util Method to split "String" content containing declare/end, rule/end, ...