code: public static CPRule remove(long CPRuleId)
  		throws com.liferay.commerce.product.exception.NoSuchCPRuleException {
  		return getPersistence().remove(CPRuleId);
  	}
docs: Removes the cp rule with the primary key from the database. Also notifies the appropriate model listeners.
  
  @param CPRuleId the primary key of the cp rule
  @return the cp rule that was removed
  @throws NoSuchCPRuleException if a cp rule with the primary key could not be found