class Grammar extends AbstractSrgsNode implements VoiceXmlNode {

    public Rule getRule(final String name) {
        final Collection<Rule> rules = getChildNodes(Rule.class);
        for (Rule rule : rules) {
            final String id = rule.getId();
            if (id.equals(name)) {
                return rule;
            }
        }
        return null;
    }

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

}