It appears you want to know about the order 7 rule 11 of cpc which speaks of rejection of plaint.
If the suit is barred by law then the opposite party file a petition asking for rejection of case of the petitioner under order 7 rule 11 of cpc.
If indeed you mean to say order 7 rule 1 of cpc then this provision deals with details which a party must mention in her pleading.