implemented juvenile rules, start building gesture detector on rulesfragment