code: public static CPRuleAssetCategoryRel findByCPRuleId_First(long CPRuleId,
  		OrderByComparator<CPRuleAssetCategoryRel> orderByComparator)
  		throws com.liferay.commerce.product.exception.NoSuchCPRuleAssetCategoryRelException {
  		return getPersistence().findByCPRuleId_First(CPRuleId, orderByComparator);
  	}
docs: Returns the first cp rule asset category rel in the ordered set where CPRuleId = &#63;.
  
  @param CPRuleId the cp rule ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching cp rule asset category rel
  @throws NoSuchCPRuleAssetCategoryRelException if a matching cp rule asset category rel could not be found