class Grammar extends AbstractSrgsNode implements VoiceXmlNode {

    public Collection<Rule> getPublicRules() {
        final Collection<Rule> publicRules = new java.util.ArrayList<Rule>();
        final Collection<Rule> rules = getChildNodes(Rule.class);
        for (Rule rule : rules) {
            if (rule.isPublic()) {
                publicRules.add(rule);
            }
        }
        return publicRules;
    }

    public  Grammar();
      Grammar(final Node node);
    private  Grammar(final Node n,
            final XmlNodeFactory<? extends XmlNode> factory);

}