Minor fixes

- Renamed GetCondition and GetAction to ConditionFunction and
ActionFunction