SELECT FORM_ID, FORM_NAME, USER_FORM_NAME, DESCRIPTION
FROM FND_FORM_VL
WHERE FORM_NAME IN
(SELECT FORM_NAME
FROM FND_FORM_CUSTOM_RULES
GROUP BY FORM_NAME)
FROM FND_FORM_VL
WHERE FORM_NAME IN
(SELECT FORM_NAME
FROM FND_FORM_CUSTOM_RULES
GROUP BY FORM_NAME)