Added conditional statements to rola-core. Closes #20.