Fixed some minor issues and added RuleBundle to kernel