class RuleServiceImpl implements RuleService {

	@Override
	public String updateRule(MultipartFile fileToUpload, CreateUpdateRuleDetails updateRuleDetails, String userId) throws PacManException {
		checkRuleTypeNotServerlessOrManaged(updateRuleDetails, fileToUpload);
		return updateRuleInstance(fileToUpload, updateRuleDetails, userId);
	}

}