class PathIntentCompiler extends PathCompiler<FlowRule> implements IntentCompiler<PathIntent>,
        PathCompiler.PathCompilerCreateFlow<FlowRule> {

    @Override
    public List<Intent> compile(PathIntent intent, List<Intent> installable) {

        List<FlowRule> rules = new LinkedList<>();
        List<DeviceId> devices = new LinkedList<>();
        compile(this, intent, rules, devices);


        return ImmutableList.of(new FlowRuleIntent(appId, null, rules, intent.resources()));
    }

}